summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorPeter Schlaile2008-08-22 20:09:33 +0200
committerroot2008-08-22 20:09:33 +0200
commit5e274aa7422e798a95b4a3934dec3b1c95953e89 (patch)
tree69e5e854b35762e0784b0a0464073d776cfaa14e /chan_lcr.c
parentchan_lcr: this fixes hanging with app_rxfax and a race condition (diff)
downloadlcr-5e274aa7422e798a95b4a3934dec3b1c95953e89.tar.gz
lcr-5e274aa7422e798a95b4a3934dec3b1c95953e89.tar.xz
lcr-5e274aa7422e798a95b4a3934dec3b1c95953e89.zip
chan_lcr: fixed typo, that made rebuffer-mode request a parameter,
that isn't necessary... shame on me :)
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c2
1 files changed, 1 insertions, 1 deletions
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;
}