Changeset 1859 for zzuf/trunk/src
- Timestamp:
- Nov 3, 2007, 12:01:09 AM (13 years ago)
- Location:
- zzuf/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/fd.c
r1858 r1859 100 100 } 101 101 102 void _zz_ports(char const * list)102 void _zz_ports(char const *portlist) 103 103 { 104 ports = _zz_allocrange( list, static_ports);105 } 106 107 void _zz_list(char const * list)104 ports = _zz_allocrange(portlist, static_ports); 105 } 106 107 void _zz_list(char const *fdlist) 108 108 { 109 list = _zz_allocrange( list, static_list);109 list = _zz_allocrange(fdlist, static_list); 110 110 } 111 111 … … 229 229 int _zz_portwatched(int port) 230 230 { 231 if(!ports) 232 return 1; 233 231 234 return _zz_isinrange(port, ports); 232 235 } -
zzuf/trunk/src/lib-fd.c
r1858 r1859 211 211 case AF_INET6: 212 212 #endif 213 #if defined AF_UNIX214 case AF_UNIX:215 #endif216 213 case AF_UNSPEC: 217 214 port = ntohs(in->sin_port);
Note: See TracChangeset
for help on using the changeset viewer.