summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-07-27 22:55:48 +0000
committerRussell Bryant <russell@russellbryant.com>2005-07-27 22:55:48 +0000
commit50a1d758d52e481f6decdedb1176da388c65f660 (patch)
treee5964d36512f84f0196685f0ccc27b8674d7e792 /apps
parentbbb33e5c41237f54e77a1968ad7d0ed06616a422 (diff)
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
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index b56741a0e..8553f6d6c 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;