X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/37f9805dabba76b7a00bd2a0227762f6f239b598..fd0abefa433e80dcc4f730f30bc5e4d918a3c10b:/socket.c diff --git a/socket.c b/socket.c index b9f01a61..e7e98a69 100644 --- a/socket.c +++ b/socket.c @@ -67,7 +67,7 @@ static int open_socket_in(int type, int port) { struct hostent *hp; struct sockaddr_in sock; - char host_name[200]; + char host_name[MAXHOSTNAMELEN]; int res; int one=1;