aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 05:08:45 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 05:08:45 +0000
commite39bbff418df27e0aaecf9980c7d2dda832b1664 (patch)
tree126dc7e84b0f0c567fe1f50d35f3622887615bee
parentb76057c0da1f4f6536911ca729673735ec345e21 (diff)
Oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4074 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xpbx/pbx_dundi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 1b2ed775e..d60799987 100755
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -1962,7 +1962,7 @@ static int dundi_do_store_history(int fd, int argc, char *argv[])
{
if (argc != 3)
return RESULT_SHOWUSAGE;
- dundidebug = 1;
+ global_storehistory = 1;
ast_cli(fd, "DUNDi History Storage Enabled\n");
return RESULT_SUCCESS;
}
@@ -1987,9 +1987,9 @@ static int dundi_no_debug(int fd, int argc, char *argv[])
static int dundi_no_store_history(int fd, int argc, char *argv[])
{
- if (argc != 3)
+ if (argc != 4)
return RESULT_SHOWUSAGE;
- dundidebug = 0;
+ global_storehistory = 0;
ast_cli(fd, "DUNDi History Storage Disabled\n");
return RESULT_SUCCESS;
}