mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +00:00
Make sure "now" is initialized (bug #4961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1958,6 +1958,7 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
|
|||||||
char nondataquality = 1;
|
char nondataquality = 1;
|
||||||
|
|
||||||
memset(&bridge_config, 0, sizeof(bridge_config));
|
memset(&bridge_config, 0, sizeof(bridge_config));
|
||||||
|
time(&now);
|
||||||
|
|
||||||
for (; options && *options; options++)
|
for (; options && *options; options++)
|
||||||
switch (*options) {
|
switch (*options) {
|
||||||
|
Reference in New Issue
Block a user