[asterisk-commits] branch oej/sipregister r11982 -
/team/oej/sipregister/channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Mar 6 02:17:18 MST 2006
Author: oej
Date: Mon Mar 6 03:17:16 2006
New Revision: 11982
URL: http://svn.digium.com/view/asterisk?rev=11982&view=rev
Log:
Fix from Luigi
Modified:
team/oej/sipregister/channels/chan_sip.c
Modified: team/oej/sipregister/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/sipregister/channels/chan_sip.c?rev=11982&r1=11981&r2=11982&view=diff
==============================================================================
--- team/oej/sipregister/channels/chan_sip.c (original)
+++ team/oej/sipregister/channels/chan_sip.c Mon Mar 6 03:17:16 2006
@@ -6746,10 +6746,11 @@
in the container at all here to avoid this check
when we have no registry entries */
if (!strncmp(uri, REG_MAGICMARKER, strlen(REG_MAGICMARKER))) {
+ int found = FALSE;
+
if (option_debug)
ast_log(LOG_DEBUG, "Checking for %s in registry\n", uri);
/* Traverse the registry to find something */
- int found = FALSE;
ASTOBJ_CONTAINER_TRAVERSE(®l, !found, do {
ASTOBJ_RDLOCK(iterator);
if (!strcmp(uri, iterator->contact)) {
More information about the asterisk-commits
mailing list