diff options
author | David Dykstra <dwd@samba.org> | 1999-02-09 18:35:29 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 1999-02-09 18:35:29 +0000 |
commit | d41c7d025c1725b921ef51c70a705a51b5c36332 (patch) | |
tree | 462ee4add162940a2f8dd2e7b385ccd06d55db4d /socket.c | |
parent | b86f0cefa23fff464bb68f53b76523cf8ce26436 (diff) | |
download | rsync-d41c7d025c1725b921ef51c70a705a51b5c36332.tar.gz |
Use MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c
instead of 200. Move the defines of True and False to rsync.h. Eliminate
the defines of BOOL in loadparm.c and params.c because it is already
defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |