From: Peter Schlaile Date: Fri, 22 Aug 2008 18:09:33 +0000 (+0200) Subject: chan_lcr: fixed typo, that made rebuffer-mode request a parameter, X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=5e274aa7422e798a95b4a3934dec3b1c95953e89 chan_lcr: fixed typo, that made rebuffer-mode request a parameter, that isn't necessary... shame on me :) --- diff --git a/chan_lcr.c b/chan_lcr.c index de9d788..906e6a3 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -477,7 +477,7 @@ void apply_opt(struct chan_call *call, char *data) bchannel_pipeline(call->bchannel, call->pipeline); break; case 'r': - if (opt[1] == '\0') { + if (opt[1] != '\0') { CERROR(call, call->ast, "Option 'r' (re-buffer 160 bytes) expects no parameter.\n", opt); break; }