Fix chanisavail typo that forced "state" mode (bug #3873)
authorMark Spencer <markster@digium.com>
Sun, 27 Mar 2005 23:01:55 +0000 (23:01 +0000)
committerMark Spencer <markster@digium.com>
Sun, 27 Mar 2005 23:01:55 +0000 (23:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5282 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_chanisavail.c

index c4c873b..23fb373 100755 (executable)
@@ -69,7 +69,7 @@ static int chanavail_exec(struct ast_channel *chan, void *data)
        stringp = info;
        strsep(&stringp, "|");
        options = strsep(&stringp, "|");
-       if (options && *options == 's');
+       if (options && *options == 's')
                option_state = 1;
        peers = info;
        if (peers) {