summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-02-19 14:12:26 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-02-19 14:12:26 +0000
commit1932be8fffa9c6a1e3b6df17f51f3e29746cb7f4 (patch)
tree853cc596c87d161f60a84ca022f1f53bbccf7183 /util.c
parent4f214a98e413b6d19aa536d5735f722d453d2280 (diff)
Solaris9 fixes
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@214 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index c74b824..ee7d4d5 100644
--- a/util.c
+++ b/util.c
@@ -91,7 +91,7 @@ char *addr2string(struct sockaddr *addr, socklen_t len) {
if (getnameinfo(addr, len, addr_buf[i], sizeof(addr_buf[i]),
NULL, 0, NI_NUMERICHOST)) {
debug(DBG_WARN, "getnameinfo failed");
- return NULL;
+ return return "getnameinfo_failed";
}
return addr_buf[i];
}