[srvx-commits] CVS: services/src sockcheck.c,1.54.2.31,1.54.2.32
Brought to you by:
entrope
From: Miles P. <pet...@us...> - 2001-09-30 04:04:01
|
Update of /cvsroot/srvx/services/src In directory usw-pr-cvs1:/tmp/cvs-serv14083 Modified Files: Tag: rel-1_0 sockcheck.c Log Message: remove stupid debug messages i put in Index: sockcheck.c =================================================================== RCS file: /cvsroot/srvx/services/src/sockcheck.c,v retrieving revision 1.54.2.31 retrieving revision 1.54.2.32 diff -C2 -r1.54.2.31 -r1.54.2.32 *** sockcheck.c 2001/09/30 04:00:38 1.54.2.31 --- sockcheck.c 2001/09/30 04:03:55 1.54.2.32 *************** *** 236,246 **** if (disable_sockcheck) return; - - printf("%d\n", pending_ip_pipe[1]); - if (pending_ip_pipe[1] == -1) return; /* something went wrong in worker */ name = buff + 1; snprintf(name, sizeof(buff)-1, "%ld.%ld.%ld.%ld", (addr >> 0) & 255, (addr >> 8) & 255, (addr >> 16) & 255, (addr >> 24) & 255); - printf("Name: %s\n", name); if (pthread_mutex_lock(&checked_ip_mutex)) { /* lock failure; this usually means coding error */ --- 236,242 ---- *************** *** 263,267 **** sci->addr = addr; memcpy(sci->hostname, name, namelen); - printf("Added: %s\n", sci->hostname); dict_insert(checked_ip_dict, sci->hostname, sci); } --- 259,262 ---- |