summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-01-16 16:06:59 +0100
committerLinus Nordberg <linus@nordberg.se>2015-01-16 16:06:59 +0100
commitc2c7de6bf42a8598e9a482a452c1f3edb34d2c94 (patch)
treed5880ddd08420e7cd32f0f1dc1f28a64437041ca /util.h
parentedd9079229f9e9ffe496bdec9f3fc449930ce296 (diff)
Fix some issues showing when DEBUG is defined.
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 474e11e..924392a 100644
--- a/util.h
+++ b/util.h
@@ -17,7 +17,7 @@ char *addr2string(struct sockaddr *addr);
struct sockaddr *addr_copy(struct sockaddr *in);
void port_set(struct sockaddr *sa, uint16_t port);
-void printfchars(char *prefixfmt, char *prefix, char *charfmt, char *chars, int len);
+void printfchars(char *prefixfmt, char *prefix, char *charfmt, uint8_t *chars, int len);
void disable_DF_bit(int socket, struct addrinfo *res);
int bindtoaddr(struct addrinfo *addrinfo, int family, int reuse, int v6only);
int connecttcp(struct addrinfo *addrinfo, struct addrinfo *src, uint16_t timeout);