From 770e3307ce3da928762e15a136c562df86a9c799 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 1 Jun 2004 10:12:52 +0000 Subject: r962: convert 'unsigned' and 'unsigned int' to uint_t metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38) --- source4/smbd/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smbd/server.c') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index 1dc8082b30..a753a2d6db 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -39,7 +39,7 @@ void exit_server(struct server_context *smb, const char *reason) static void setup_listen(struct event_context *events, const struct model_ops *model_ops, void (*accept_handler)(struct event_context *,struct fd_event *,time_t,uint16_t), - struct in_addr *ifip, unsigned port) + struct in_addr *ifip, uint_t port) { struct fd_event fde; fde.fd = open_socket_in(SOCK_STREAM, port, 0, ifip->s_addr, True); @@ -81,7 +81,7 @@ static void add_socket(struct event_context *events, for (tok=strtok_r(lp_smb_ports(), delim, &ptr); tok; tok=strtok_r(NULL, delim, &ptr)) { - unsigned port = atoi(tok); + uint_t port = atoi(tok); if (port == 0) continue; setup_listen(events, model_ops, model_ops->accept_connection, ifip, port); } -- cgit