Make sure "now" is initialized (bug #4961)
authorMark Spencer <markster@digium.com>
Sun, 14 Aug 2005 03:08:08 +0000 (03:08 +0000)
committerMark Spencer <markster@digium.com>
Sun, 14 Aug 2005 03:08:08 +0000 (03:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 989292c..fe6995d 100755 (executable)
@@ -1958,6 +1958,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
        char nondataquality = 1;
 
        memset(&bridge_config, 0, sizeof(bridge_config));
+       time(&now);
                
        for (; options && *options; options++)
                switch (*options) {