[Asterisk-cvs] asterisk/apps app_queue.c,1.152,1.153

russell at lists.digium.com russell at lists.digium.com
Wed Jul 27 18:49:19 CDT 2005


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

Modified Files:
	app_queue.c 
Log Message:
the time must be initialized for the 'n' option to actually work (bug #4834)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- app_queue.c	26 Jul 2005 21:53:56 -0000	1.152
+++ app_queue.c	27 Jul 2005 22:55:48 -0000	1.153
@@ -1882,7 +1882,7 @@
 	char *announce = NULL;
 	char digit = 0;
 	time_t callstart;
-	time_t now;
+	time_t now = time(NULL);
 	struct ast_bridge_config bridge_config;
 	char nondataquality = 1;
 




More information about the svn-commits mailing list