From 50a1d758d52e481f6decdedb1176da388c65f660 Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Wed, 27 Jul 2005 22:55:48 +0000 Subject: [PATCH] the time must be initialized for the 'n' option to actually work (bug #4834) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6238 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index b56741a0e4..8553f6d6c0 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1882,7 +1882,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce 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; -- GitLab