diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-04-14 12:23:48 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-04-15 06:56:06 +0200 |
commit | 71cf5791422c7a461520fce8225342c27821e774 (patch) | |
tree | c7e28596138efe005e236667fb2bb79c1cff3544 /src | |
parent | ee66c579dedf7130aa4d59afbf373f28c98eead5 (diff) |
Minor improvement to error reporting
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tcp_address.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_address.cpp b/src/tcp_address.cpp index ae69708..9132c37 100644 --- a/src/tcp_address.cpp +++ b/src/tcp_address.cpp @@ -162,7 +162,7 @@ int xs::tcp_address_t::resolve_nic_name (const char *nic_, bool ipv4only_) // Get the addresses. ifaddrs* ifa = NULL; int rc = getifaddrs (&ifa); - xs_assert (rc == 0); + errno_assert (rc == 0); xs_assert (ifa != NULL); // Find the corresponding network interface. |