[Asterisk-cvs] asterisk/channels chan_sip.c,1.470,1.471
markster at lists.digium.com
markster at lists.digium.com
Tue Aug 17 10:40:19 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv11368/channels
Modified Files:
chan_sip.c
Log Message:
Can't check incoming sip debug until after we receive the packet!
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.470
retrieving revision 1.471
diff -u -d -r1.470 -r1.471
--- chan_sip.c 17 Aug 2004 14:20:43 -0000 1.470
+++ chan_sip.c 17 Aug 2004 14:26:25 -0000 1.471
@@ -7412,7 +7412,7 @@
int len;
int nounlock;
int recount = 0;
- int debug=sip_debug_test_addr(&sin);
+ int debug;
len = sizeof(sin);
memset(&req, 0, sizeof(req));
@@ -7426,6 +7426,7 @@
}
req.data[res] = '\0';
req.len = res;
+ debug = sip_debug_test_addr(&sin);
if (debug)
ast_verbose("\n\nSip read: \n%s\n", req.data);
if (pedanticsipchecking)
More information about the svn-commits
mailing list