aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-17 05:16:22 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-17 05:16:22 +0000
commitdbbf2cc59f7198c9ecdabf3d291ec32bb856287a (patch)
tree87a5eac0c62595b43dd3fd399bd997b54f19965c /res/res_agi.c
parent48b8b03b38ed4bcf3d3cc78f1fe2e5f55fee93b5 (diff)
Remove late-night excuse for wasting cpu cycles. revert previous res_agi change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4029 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rwxr-xr-xres/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 69133e7c4..b6f6edebb 100755
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -827,7 +827,7 @@ static int handle_exec(struct ast_channel *chan, AGI *agi, int argc, char **argv
app = pbx_findapp(argv[1]);
if (app) {
- res = pbx_exec(chan, app, argv[2] ? argv[2] : NULL, 1);
+ res = pbx_exec(chan, app, argv[2], 1);
} else {
ast_log(LOG_WARNING, "Could not find application (%s)\n", argv[1]);
res = -2;