diff options
author | Michael Adam <obnox@samba.org> | 2017-03-29 23:56:48 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2017-03-29 23:56:48 +0200 |
commit | a71cebb094fc7f4af9b433cb444191de01003ac1 (patch) | |
tree | a70b23d217de4918eb9cc4e24d8e913c1ee8a958 /src/network.h | |
parent | f149b6247538f9820be1e8c43d2600e446f8f105 (diff) |
network: let get_ip_string() return const char * instead of const char
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h index b6ddaa6..15af481 100644 --- a/src/network.h +++ b/src/network.h @@ -27,7 +27,7 @@ extern ssize_t safe_read (int fd, char *buffer, size_t count); extern int write_message (int fd, const char *fmt, ...); extern ssize_t readline (int fd, char **whole_buffer); -extern char *get_ip_string (struct sockaddr *sa, char *buf, size_t len); +extern const char *get_ip_string (struct sockaddr *sa, char *buf, size_t len); extern int full_inet_pton (const char *ip, void *dst); #endif |