From 7122b49be0d135619e6eb848798b4bc620a9b808 Mon Sep 17 00:00:00 2001 From: David Troy Date: Mon, 3 Apr 2006 19:39:36 +0000 Subject: git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@74 f02b47b9-160a-0410-81a6-dc3441afb0ec --- src/common.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index 98f33e0..f4b370e 100644 --- a/src/common.c +++ b/src/common.c @@ -11,9 +11,6 @@ int get_input(struct mansession *s, char *output) struct pollfd fds[1]; char iabuf[INET_ADDRSTRLEN]; - if (debug > 3) - debugmsg("in get_input"); - /* Look for \r\n from the front, our preferred end of line */ for (x=0;xinlen;x++) { int xtra = 0; @@ -37,8 +34,6 @@ int get_input(struct mansession *s, char *output) debugmsg("Warning: Got long line with no end from %s: %s\n", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr), s->inbuf); s->inlen = 0; } - if (debug > 3) - debugmsg("attempting poll operation"); /* get actual fd, even if a negative SSL fd */ fds[0].fd = get_real_fd(s->fd); @@ -55,7 +50,6 @@ int get_input(struct mansession *s, char *output) debugmsg("Select returned error"); return -1; } else if (res > 0) { - debugmsg("attempting socket read in get_input..."); pthread_mutex_lock(&s->lock); /* read from socket; SSL or otherwise */ res = m_recv(s->fd, s->inbuf + s->inlen, sizeof(s->inbuf) - 1 - s->inlen, 0); -- cgit