summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-07-05 15:13:58 +0000
committerDavid Troy <dave@popvox.com>2006-07-05 15:13:58 +0000
commit68482eab76d2b091ab671639a1d49bd141da1d26 (patch)
tree7b0e0cc17a397783877d28585663019722238740 /src
parentb956acd714804efd1bb2dc64570d722c5bca3deb (diff)
downloadastmanproxy-68482eab76d2b091ab671639a1d49bd141da1d26.tar.gz
astmanproxy-68482eab76d2b091ab671639a1d49bd141da1d26.tar.xz
astmanproxy-68482eab76d2b091ab671639a1d49bd141da1d26.zip
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/tags/1.21@137 f02b47b9-160a-0410-81a6-dc3441afb0ec
Diffstat (limited to 'src')
-rw-r--r--src/astmanproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c
index 1b6421b..59ec99f 100644
--- a/src/astmanproxy.c
+++ b/src/astmanproxy.c
@@ -326,7 +326,7 @@ void *HandleAsterisk(struct mansession *s)
for (;;) {
if (debug)
debugmsg("asterisk@%s: attempting read...", ast_inet_ntoa(iabuf, sizeof(iabuf), s->sin.sin_addr));
- memset(&m, 0, sizeof(struct message) );
+ memset(m, 0, sizeof(struct message) );
res = s->input->read(s, m);
m->session = s;
@@ -717,4 +717,4 @@ int main(int argc, char *argv[])
pthread_exit(NULL);
exit(0);
-} \ No newline at end of file
+}