mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
* mcserv.c (get_client): Fix gcc 4 warning.
This commit is contained in:
parent
0e653491c1
commit
528e77efc0
@ -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>
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user