* mcserv.c (get_client): Fix gcc 4 warning.

This commit is contained in:
Pavel Roskin 2005-11-11 02:31:46 +00:00
parent 0e653491c1
commit 528e77efc0
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2005-11-10 Pavel Roskin <proski@gnu.org> 2005-11-10 Pavel Roskin <proski@gnu.org>
* mcserv.c (get_client): Fix gcc 4 warning.
* smbfs.c: Remove redundant ipzero declaration. * smbfs.c: Remove redundant ipzero declaration.
2005-10-19 Leonard den Ottolander <leonard den ottolander nl> 2005-10-19 Leonard den Ottolander <leonard den ottolander nl>

View File

@ -1188,7 +1188,8 @@ server (int sock)
static const char * static const char *
get_client (int portnum) get_client (int portnum)
{ {
int sock, clilen, newsocket; int sock, newsocket;
unsigned int clilen;
struct sockaddr_in client_address, server_address; struct sockaddr_in client_address, server_address;
int yes = 1; int yes = 1;