Return -1 if chan_local doesn't support an option

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@286222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Terry Wilson 15 years ago
parent 59349472bb
commit 1b3cdeab25

@ -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;

Loading…
Cancel
Save