[asterisk-commits] branch bweschke/bug_6047 - r8025 /team/bweschke/bug_6047/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jan 12 13:34:29 CST 2006


Author: bweschke
Date: Thu Jan 12 13:34:28 2006
New Revision: 8025

URL: http://svn.digium.com/view/asterisk?rev=8025&view=rev
Log:
 Fix a compile bug


Modified:
    team/bweschke/bug_6047/channels/chan_sip.c

Modified: team/bweschke/bug_6047/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/bweschke/bug_6047/channels/chan_sip.c?rev=8025&r1=8024&r2=8025&view=diff
==============================================================================
--- team/bweschke/bug_6047/channels/chan_sip.c (original)
+++ team/bweschke/bug_6047/channels/chan_sip.c Thu Jan 12 13:34:28 2006
@@ -6317,7 +6317,7 @@
 			ast_verbose(VERBOSE_PREFIX_2 "Extension state: Watcher for hint %s %s. Notify User %s\n", hmgrp->exten, hmgrp->state == AST_EXTENSION_DEACTIVATED ? "deactivated" : "removed", p->username);
 			p->stateid = -1;
 			p->subscribed = NONE;
-			append_history(p, "Subscribestatus", hmgrp->state == AST_EXTENSION_REMOVED ? "HintRemoved" : "Deactivated");
+			append_history(p, "Subscribestatus", "%s", hmgrp->state == AST_EXTENSION_REMOVED ? "HintRemoved" : "Deactivated");
 			transmit_state_notify(p, hmgrp->state, 1, 1);
                 } else {
 			if (option_debug > 1)



More information about the asterisk-commits mailing list