[Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.5,1.151.2.6

russell at lists.digium.com russell at lists.digium.com
Sun Nov 7 19:28:39 CST 2004


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

Modified Files:
      Tag: v1-0
	app_voicemail.c 
Log Message:
fix voicemail debug output (bug #2789)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.151.2.5
retrieving revision 1.151.2.6
diff -u -d -r1.151.2.5 -r1.151.2.6
--- app_voicemail.c	26 Oct 2004 15:22:09 -0000	1.151.2.5
+++ app_voicemail.c	8 Nov 2004 00:30:21 -0000	1.151.2.6
@@ -1091,7 +1091,7 @@
 		fclose(p);
 		snprintf(tmp2, sizeof(tmp2), "( %s < %s ; rm -f %s ) &", mailcmd, tmp, tmp);
 		ast_safe_system(tmp2);
-		ast_log(LOG_DEBUG, "Sent mail to %s with command '%s'\n", who, mailcmd);
+		ast_log(LOG_DEBUG, "Sent page to %s with command '%s'\n", pager, mailcmd);
 	} else {
 		ast_log(LOG_WARNING, "Unable to launch '%s'\n", mailcmd);
 		return -1;




More information about the svn-commits mailing list