From eb7f5e8d0b6995e99757badb93e9e2b919091fac Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 25 Jul 2005 22:58:34 +0000 Subject: [PATCH] make sure a reponse is sent when setting the EventMask to on (bug #4799) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6214 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager.c b/manager.c index 306c217956..4dfefb3eda 100755 --- a/manager.c +++ b/manager.c @@ -402,7 +402,7 @@ static int ast_strings_to_mask(char *string) else if (!strcasecmp(string, "off") || ast_false(string)) ret = 0; else if (!strcasecmp(string, "on") || ast_true(string)) - ret = -1; + ret = 1; else { ret = 0; for (x=0; x