aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-13 18:19:15 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-13 18:19:15 +0000
commitd905f33e0b39481852ec1e6770fc6c93d71a3ff2 (patch)
treeed335d2114a8e70fd9199b9e3ddad6fe1e4984a1 /asterisk.c
parentb31718e484de58c96404874e413c293df09149b7 (diff)
Add set debug option, make output for set verbose better (bug #2428)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3771 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/asterisk.c b/asterisk.c
index 9c77e1527..3c4d230ee 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -1404,6 +1404,8 @@ static void ast_remotecontrol(char * data)
pid = -1;
snprintf(tmp, sizeof(tmp), "set verbose atleast %d", option_verbose);
fdprint(ast_consock, tmp);
+ snprintf(tmp, sizeof(tmp), "set debug atleast %d", option_debug);
+ fdprint(ast_consock, tmp);
ast_verbose("Connected to Asterisk %s currently running on %s (pid = %d)\n", version, hostname, pid);
remotehostname = hostname;
if (getenv("HOME"))