summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.h b/util.h
index 924392a..099a30f 100644
--- a/util.h
+++ b/util.h
@@ -13,7 +13,7 @@
sizeof(struct sockaddr_in6))
char *stringcopy(const char *s, int len);
-char *addr2string(struct sockaddr *addr);
+const char *addr2string(struct sockaddr *addr);
struct sockaddr *addr_copy(struct sockaddr *in);
void port_set(struct sockaddr *sa, uint16_t port);