r651 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat Aug 5 13:12:44 CEST 2006


Author: phk
Date: 2006-08-05 13:12:44 +0200 (Sat, 05 Aug 2006)
New Revision: 651

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_event.c
Log:
Remove debugging printfs


Modified: trunk/varnish-cache/bin/varnishd/mgt_event.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_event.c	2006-08-05 11:08:26 UTC (rev 650)
+++ trunk/varnish-cache/bin/varnishd/mgt_event.c	2006-08-05 11:12:44 UTC (rev 651)
@@ -137,7 +137,6 @@
 	if (!es->happened)
 		es->evb->psig++;
 	es->happened = 1;
-printf("SIG %d happened\n", sig);
 }
 
 /*--------------------------------------------------------------------*/
@@ -324,9 +323,7 @@
 	int i;
 
 
-printf("Call %p %s (TMO)\n", e, e->name);
 	i = e->callback(e, 0);
-printf("Back %p %s (TMO)\n", e, e->name);
 	if (i) {
 		ev_del(evb, e);
 		free(e);
@@ -353,9 +350,7 @@
 		es->happened = 0;
 		e = es->ev;
 		assert(e != NULL);
-printf("Call %p %s (sig %d)\n", e, e->name, j);
 		i = e->callback(e, EV_SIG);
-printf("Back %p %s (sig %d)\n", e, e->name, j);
 		if (i) {
 			ev_del(evb, e);
 			free(e);
@@ -415,9 +410,7 @@
 		assert(pfd->events == e->fd_flags);
 		if (!pfd->revents)
 			continue;
-printf("Call %p %s (%u)\n", e, e->name, pfd->revents);
 		j = e->callback(e, pfd->revents);
-printf("Back %p %s (%u)\n", e, e->name, pfd->revents);
 		i--;
 		if (evb->disturbed) {
 			TAILQ_FOREACH(e3, &evb->events, __list) {




More information about the varnish-commit mailing list