[Asterisk-cvs] asterisk/apps app_privacy.c,1.10,1.11

markster at lists.digium.com markster at lists.digium.com
Tue Jan 11 11:31:27 CST 2005


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv6974/apps

Modified Files:
	app_privacy.c 
Log Message:
Remove unused variable (bug #3318)


Index: app_privacy.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_privacy.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- app_privacy.c	9 Jan 2005 18:34:48 -0000	1.10
+++ app_privacy.c	11 Jan 2005 17:35:35 -0000	1.11
@@ -65,7 +65,6 @@
 	int x;
 	char *s;
 	char phone[30];
-	char new_cid[144];
 	struct localuser *u;
 	struct ast_config *cfg;
 
@@ -138,7 +137,7 @@
 				res = ast_waitstream(chan, "");
 			ast_set_callerid (chan, phone, "Privacy Manager", NULL);
 			if (option_verbose > 2)
-				ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",new_cid);
+				ast_verbose (VERBOSE_PREFIX_3 "Changed Caller*ID to %s\n",phone);
 		} else {
 			/*Send the call to n+101 priority, where n is the current priority*/
 			if (ast_exists_extension(chan, chan->context, chan->exten, chan->priority + 101, chan->cid.cid_num))




More information about the svn-commits mailing list