projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e18bdff
)
Fix random segfault issue when loading chan_zap. Trying to access a configuration...
author
Joshua Colp
<jcolp@digium.com>
Mon, 20 Aug 2007 14:15:30 +0000
(14:15 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Mon, 20 Aug 2007 14:15:30 +0000
(14:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80023
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
2bb905c
..
d7f8646
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-12733,7
+12733,7
@@
static int setup_zap(int reload)
if (ucfg) {
char *cat;
const char *chans;
- process_zap(&base_conf, ast_variable_browse(cfg, "general"), 1, 1);
+ process_zap(&base_conf, ast_variable_browse(ucfg, "general"), 1, 1);
for (cat = ast_category_browse(ucfg, NULL); cat ; cat = ast_category_browse(ucfg, cat)) {
if (!strcasecmp(cat, "general"))
continue;