diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-01-11 12:55:46 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-01-12 20:47:24 -0800 |
| commit | d615c5e51268a23887e2d29b5828a0447ba5409b (patch) | |
| tree | b990cbbb5c56c99f445f0989783babd203610daa /src/transport/tcp | |
| parent | 5637b36e2ed59a0c65384804b780e323c9c451c0 (diff) | |
| download | nng-d615c5e51268a23887e2d29b5828a0447ba5409b.tar.gz nng-d615c5e51268a23887e2d29b5828a0447ba5409b.tar.bz2 nng-d615c5e51268a23887e2d29b5828a0447ba5409b.zip | |
Add IPC (UNIX domain sockets) for POSIX, and test suite.
Diffstat (limited to 'src/transport/tcp')
| -rw-r--r-- | src/transport/tcp/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/tcp/tcp.c b/src/transport/tcp/tcp.c index fe06cca4..9b8cdb1d 100644 --- a/src/transport/tcp/tcp.c +++ b/src/transport/tcp/tcp.c @@ -171,7 +171,7 @@ nni_tcp_ep_init(void **epp, const char *url, uint16_t proto) int rv; if (strlen(url) > NNG_MAXADDRLEN-1) { - return (NNG_EINVAL); + return (NNG_EADDRINVAL); } if ((ep = NNI_ALLOC_STRUCT(ep)) == NULL) { return (NNG_ENOMEM); |
