diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-18 11:01:41 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2010-01-18 11:01:41 +0100 |
commit | bddff50271b7c4c15c34d7a0aa1c04f3e3e3c107 (patch) | |
tree | f5f22b50a7e9827683199d628c431ced5df09720 /src | |
parent | 55944729ed5527692b1ead17af553aa32c316781 (diff) |
ZMQII-40: wrong return code from recolve_ip_interface
Diffstat (limited to 'src')
-rw-r--r-- | src/ip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ int zmq::resolve_ip_interface (sockaddr_in* addr_, char const *interface_) addr_->sin_port = htons ((uint16_t) atoi (delimiter + 1)); if (!addr_->sin_port) { errno = EINVAL; - return 0; + return -1; } return 0; |