From: Russell Bryant Date: Wed, 27 Jul 2005 22:55:48 +0000 (+0000) Subject: the time must be initialized for the 'n' option to actually work (bug #4834) X-Git-Tag: 1.2.0-beta1~174 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50a1d758d52e481f6decdedb1176da388c65f660;p=thirdparty%2Fasterisk.git 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 --- 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;