[svn-commits] trunk r31414 - /trunk/channels/chan_sip.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jun 1 09:58:06 MST 2006
Author: oej
Date: Thu Jun 1 11:58:06 2006
New Revision: 31414
URL: http://svn.digium.com/view/asterisk?rev=31414&view=rev
Log:
Issue #7103 take two. Thanks Mikael!
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=31414&r1=31413&r2=31414&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Jun 1 11:58:06 2006
@@ -1366,7 +1366,7 @@
unsigned int profile = 0;
int i, found;
- if (!pvt || ast_strlen_zero(supported) )
+ if (ast_strlen_zero(supported) )
return 0;
if (option_debug > 2 && sipdebug)
@@ -1392,7 +1392,8 @@
ast_log(LOG_DEBUG, "Found no match for SIP option: %s (Please file bug report!)\n", next);
}
- pvt->sipoptions = profile;
+ if (pvt)
+ pvt->sipoptions = profile;
return profile;
}
More information about the svn-commits
mailing list