From f4561c0e46087895f7a1325aa752bfd15452d968 Mon Sep 17 00:00:00 2001
From: Mark Michelson <mmichelson@digium.com>
Date: Tue, 21 Oct 2008 23:31:17 +0000
Subject: [PATCH] Get this compiling in dev-mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_sip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f141a7720e..33f5dad156 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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';
 		}
 		
-- 
GitLab