diff options
-rw-r--r-- | channels/chan_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index f49eb0b2f..5f17e1814 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -134,7 +134,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; |