summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-03 19:39:36 +0000
committerDavid Troy <dave@popvox.com>2006-04-03 19:39:36 +0000
commit7122b49be0d135619e6eb848798b4bc620a9b808 (patch)
treed821e24702e9e67b28fd6143504b9fa028c57276 /src/common.c
parentecc49089c697a2cb7331358def5ce7640fae65bf (diff)
downloadastmanproxy-7122b49be0d135619e6eb848798b4bc620a9b808.tar.gz
astmanproxy-7122b49be0d135619e6eb848798b4bc620a9b808.tar.xz
astmanproxy-7122b49be0d135619e6eb848798b4bc620a9b808.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@74 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c6
1 files changed, 0 insertions, 6 deletions
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;x<s->inlen;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);