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:
773eda0
)
correct small bug introduced during API conversion
author
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 19 Nov 2008 13:45:48 +0000
(13:45 +0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 19 Nov 2008 13:45:48 +0000
(13:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157743
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_agi.c
patch
|
blob
|
history
diff --git
a/res/res_agi.c
b/res/res_agi.c
index
c3683b0
..
4149716
100644
(file)
--- a/
res/res_agi.c
+++ b/
res/res_agi.c
@@
-2731,7
+2731,7
@@
static int agi_handle_command(struct ast_channel *chan, AGI *agi, char *buf, int
switch(res) {
case RESULT_SHOWUSAGE:
ast_agi_send(agi->fd, chan, "520-Invalid command syntax. Proper usage follows:\n");
- ast_agi_send(agi->fd, NULL, "%s", c->usage);
+ ast_agi_send(agi->fd, chan, "%s", c->usage);
ast_agi_send(agi->fd, chan, "520 End of proper usage.\n");
break;
case AST_PBX_KEEPALIVE: