diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-07 02:52:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-07 02:52:38 +0000 |
commit | a3c8389dc99a7b623a789ae04e88ebedf4dbed51 (patch) | |
tree | 24f59f33f11a75bdf36fc8f2b5d51437b1fdbdc2 /apps/app_dial.c | |
parent | 7f34a61cecefce1f2e46fa6213bb1d373b54b66f (diff) |
Merged revisions 91693 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r91693 | russell | 2007-12-06 20:51:22 -0600 (Thu, 06 Dec 2007) | 2 lines
Don't unlock the dialed_interfaces list until we're done messing with the iterator.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91700 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 85fab4b89..dbe6424b2 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1391,8 +1391,8 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags strcpy(di->interface, interface); AST_LIST_INSERT_TAIL(dialed_interfaces, di, list); } else if (dialed) { - AST_LIST_UNLOCK(dialed_interfaces); ast_log(LOG_WARNING, "Skipping dialing interface '%s' again since it has already been dialed\n", di->interface); + AST_LIST_UNLOCK(dialed_interfaces); fulldial++; free(tmp); continue; |