summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Troy <dave@popvox.com>2006-07-05 15:11:27 +0000
committerDavid Troy <dave@popvox.com>2006-07-05 15:11:27 +0000
commit33ef6fb69ad9cdd6109c5ff363ae30bc331c2a7a (patch)
tree350ed9dda94796a3710c68a52e3690942cb73140
parenteae97cee52ac75346a9d3d901505ba1060a4fc50 (diff)
downloadastmanproxy-33ef6fb69ad9cdd6109c5ff363ae30bc331c2a7a.zip
astmanproxy-33ef6fb69ad9cdd6109c5ff363ae30bc331c2a7a.tar.gz
astmanproxy-33ef6fb69ad9cdd6109c5ff363ae30bc331c2a7a.tar.xz
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/trunk@136 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r--src/astmanproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c
index 058ef0a..b2a7107 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
+}