aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-10 22:56:14 +0000
committertwilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-09-10 22:56:14 +0000
commit9bf8735747803a140a7371a8b4126323d7685a16 (patch)
tree4802bf88d4e9255016f45c951a0b57184606e1e6
parent28cca93b6ed51af0fcf2f1ba014ad893bfae5ac1 (diff)
Merged revisions 286222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r286222 | twilson | 2010-09-10 17:54:23 -0500 (Fri, 10 Sep 2010) | 1 line Return -1 if chan_local doesn't support an option ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@286223 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c
index 3b843ce70..62568ca57 100644
--- a/channels/chan_local.c
+++ b/channels/chan_local.c
@@ -136,7 +136,7 @@ static int local_setoption(struct ast_channel *chan, int option, void * data, in
ast_chan_write_info_t *write_info;
if (option != AST_OPTION_CHANNEL_WRITE) {
- return 0;
+ return -1;
}
write_info = data;