summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 23:20:50 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 23:20:50 +0200
commitce0ac322b4a673e59e6e04467b2ceaf7a9637a68 (patch)
tree87106198ba01fe704f60feefa360746d3135a0f5 /source3/include/proto.h
parentf18296151d1d8774b861ef6bd751b48ef9ee2f92 (diff)
downloadsamba-ce0ac322b4a673e59e6e04467b2ceaf7a9637a68.tar.gz
samba-ce0ac322b4a673e59e6e04467b2ceaf7a9637a68.tar.bz2
samba-ce0ac322b4a673e59e6e04467b2ceaf7a9637a68.zip
Fix prototype for set_sockaddr_port.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7a5cd3b07e..83cd740a78 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1507,7 +1507,7 @@ char *print_sockaddr(char *dest,
const struct sockaddr_storage *psa);
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
const struct sockaddr_storage *pss);
-void set_sockaddr_port(struct sockaddr_storage *psa, uint16 port);
+void set_sockaddr_port(struct sockaddr *psa, uint16_t port);
const char *client_name(int fd);
const char *client_addr(int fd, char *addr, size_t addrlen);
const char *client_socket_addr(int fd, char *addr, size_t addr_len);