chan_lcr: fixed typo, that made rebuffer-mode request a parameter,
authorPeter Schlaile <root@asterisk.schlaile.de>
Fri, 22 Aug 2008 18:09:33 +0000 (20:09 +0200)
committerroot <root@asterisk.schlaile.de>
Fri, 22 Aug 2008 18:09:33 +0000 (20:09 +0200)
that isn't necessary... shame on me :)

chan_lcr.c

index de9d788..906e6a3 100644 (file)
@@ -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;
                        }