Get this compiling in dev-mode
authorMark Michelson <mmichelson@digium.com>
Tue, 21 Oct 2008 23:31:17 +0000 (23:31 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 21 Oct 2008 23:31:17 +0000 (23:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151439 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f141a77..33f5dad 100644 (file)
@@ -21936,7 +21936,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str
                char *params;
 
                ast_copy_string(_srvlookup, srvlookup, sizeof(_srvlookup));
-               if (params = strchr(_srvlookup, ';')) {
+               if ((params = strchr(_srvlookup, ';'))) {
                        *params++ = '\0';
                }