From 84ec7ffd51ce24593c9219675472c53f6ce303da Mon Sep 17 00:00:00 2001 From: Massimiliano Pinto Date: Thu, 13 Jun 2013 00:31:35 +0200 Subject: [PATCH] Some fprintf has been removed --- core/utils.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core/utils.c b/core/utils.c index 75e3b040a..44d48d0f1 100644 --- a/core/utils.c +++ b/core/utils.c @@ -339,7 +339,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) { int n; struct epoll_event new_event; - if (dcb == NULL) { fprintf(stderr, "DCB is NULL, return\n"); return 1; @@ -374,10 +373,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) { protocol->state = MYSQL_IDLE; -//#ifdef GW_DEBUG_WRITE_EVENT - fprintf(stderr, "DCB [%i], EPOLLIN Protocol next state MYSQL_IDLE [%i], Packet #%i for socket %i, scramble [%s]\n", dcb->state, protocol->state, 2, dcb->fd, protocol->scramble); -//#endif - return 0; } @@ -429,10 +424,6 @@ int gw_handle_write_event(DCB *dcb, int epfd) { return 1; } -//#ifdef GW_DEBUG_WRITE_EVENT - fprintf(stderr, "$$$$$ DCB [%i], EPOLLOUT Protocol state is [%i] did nothing !!!!\n", dcb->state, protocol->state); -//#endif - return 1; }