diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-14 08:29:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-14 21:11:12 -0800 |
| commit | 575148ac9a274d61e45220fda7d8de6a420f4fe4 (patch) | |
| tree | 60e6b255d2aa5fe5a29889c436aba2edb2908bd5 /src/sp/transport.h | |
| parent | 6dc757342f5f9dedf38de356ae1802546f976bcc (diff) | |
| download | nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.gz nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.tar.bz2 nng-575148ac9a274d61e45220fda7d8de6a420f4fe4.zip | |
api: pipes should use nng_err
Diffstat (limited to 'src/sp/transport.h')
| -rw-r--r-- | src/sp/transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp/transport.h b/src/sp/transport.h index 976068c8..1c9f930b 100644 --- a/src/sp/transport.h +++ b/src/sp/transport.h @@ -180,7 +180,7 @@ struct nni_sp_pipe_ops { // p_getopt is used to obtain an option. Pipes don't implement // option setting. - int (*p_getopt)(void *, const char *, void *, size_t *, nni_type); + nng_err (*p_getopt)(void *, const char *, void *, size_t *, nni_type); }; // Transport implementation details. Transports must implement the |
