[asterisk-commits] tilghman: trunk r89560 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Nov 25 11:44:16 CST 2007


Author: tilghman
Date: Sun Nov 25 11:44:16 2007
New Revision: 89560

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89560
Log:
Typo (someone needs to test compile before committing his changes)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=89560&r1=89559&r2=89560
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sun Nov 25 11:44:16 2007
@@ -17540,7 +17540,7 @@
 		} else if (!strcasecmp(v->name, "accountcode")) {
 			ast_copy_string(user->accountcode, v->value, sizeof(user->accountcode));
 		} else if (!strcasecmp(v->name, "callcounter")) {
-			user->call_limit = ast_strue(v->value) ? 999 : 0;
+			user->call_limit = ast_true(v->value) ? 999 : 0;
 		} else if (!strcasecmp(v->name, "call-limit")) {
 			user->call_limit = atoi(v->value);
 			if (user->call_limit < 0)
@@ -17838,7 +17838,7 @@
 		} else if (!strcasecmp(v->name, "callbackextension")) {
 			ast_copy_string(callback, v->value, sizeof(callback));
 		} else if (!strcasecmp(v->name, "callcounter")) {
-			peer->call_limit = ast_strue(v->value) ? 999 : 0;
+			peer->call_limit = ast_true(v->value) ? 999 : 0;
 		} else if (!strcasecmp(v->name, "call-limit")) {
 			peer->call_limit = atoi(v->value);
 			if (peer->call_limit < 0)




More information about the asterisk-commits mailing list