summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-04-02 21:24:16 +0000
committerDavid Troy <dave@popvox.com>2006-04-02 21:24:16 +0000
commit09255fbd6f7e0bd81f5de30f580928a94e1834d7 (patch)
treec12d708d993f3f7c9f4aca4cb0177c1ee08b3479 /src/common.c
parent7885ebaa4f79cf908adb9e2a7fb252493c10026b (diff)
downloadastmanproxy-09255fbd6f7e0bd81f5de30f580928a94e1834d7.tar.gz
astmanproxy-09255fbd6f7e0bd81f5de30f580928a94e1834d7.tar.xz
astmanproxy-09255fbd6f7e0bd81f5de30f580928a94e1834d7.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.20pre@68 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 0855ac9..39b5c93 100644
--- a/src/common.c
+++ b/src/common.c
@@ -59,10 +59,11 @@ int get_input(struct mansession *s, char *output)
if (res < 1)
return -1;
}
+
+ /* We have some input, but it's not ready for processing */
s->inlen += res;
s->inbuf[s->inlen] = '\0';
return 0;
- /* We have some input, but it's not ready for processing */
}
char *astman_get_header(struct message *m, char *var)