[asterisk-commits] mmichelson: branch group/pimp_my_sip r382114 - /team/group/pimp_my_sip/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 26 14:10:03 CST 2013
Author: mmichelson
Date: Tue Feb 26 14:09:59 2013
New Revision: 382114
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382114
Log:
Invert logic so that things actually start up properly.
Modified:
team/group/pimp_my_sip/res/res_sip.c
Modified: team/group/pimp_my_sip/res/res_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip.c?view=diff&rev=382114&r1=382113&r2=382114
==============================================================================
--- team/group/pimp_my_sip/res/res_sip.c (original)
+++ team/group/pimp_my_sip/res/res_sip.c Tue Feb 26 14:09:59 2013
@@ -461,7 +461,7 @@
uint32_t *servant_id;
servant_id = ast_threadstorage_get(&servant_id_storage, sizeof(*servant_id));
- if (servant_id) {
+ if (!servant_id) {
ast_log(LOG_ERROR, "Could not set SIP servant ID in thread-local storage.\n");
return;
}
More information about the asterisk-commits
mailing list