[asterisk-commits] rizzo: branch rizzo/astobj2 r47678 - /team/rizzo/astobj2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 15 10:57:41 MST 2006


Author: rizzo
Date: Wed Nov 15 11:57:40 2006
New Revision: 47678

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47678
Log:
missing 'int' ...


Modified:
    team/rizzo/astobj2/channels/chan_sip.c

Modified: team/rizzo/astobj2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/channels/chan_sip.c?view=diff&rev=47678&r1=47677&r2=47678
==============================================================================
--- team/rizzo/astobj2/channels/chan_sip.c (original)
+++ team/rizzo/astobj2/channels/chan_sip.c Wed Nov 15 11:57:40 2006
@@ -11064,15 +11064,16 @@
 {
 	int x = 0;
 	struct sip_history *hist;
-	static errmsg = 0;
+	static int errmsg = 0;
 
 	if (!dialog)
 		return;
 
 	if (!option_debug && !sipdebug) {
-		if (!errmsg)
+		if (!errmsg) {
 			ast_log(LOG_NOTICE, "You must have debugging enabled (SIP or Asterisk) in order to dump SIP history.\n");
-		errmsg = 1;
+			errmsg = 1;
+		}
 		return;
 	}
 



More information about the asterisk-commits mailing list