From 903e909f8b6cd196a3d6af43438310a925c243b7 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 21 Sep 2010 15:32:04 +0200 Subject: [PATCH] =?UTF-8?q?add=20suggested=20parentheses=20around=20?= =?UTF-8?q?=E2=80=98&&=E2=80=99=20within=20=E2=80=98||=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/AmSipDialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/AmSipDialog.cpp b/core/AmSipDialog.cpp index a1df6460..2b6d3d22 100644 --- a/core/AmSipDialog.cpp +++ b/core/AmSipDialog.cpp @@ -109,11 +109,11 @@ void AmSipDialog::updateStatus(const AmSipRequest& req) // target refresh requests if (req.from_uri.length() && - (req.method.length()==6 && - ((req.method == "INVITE") || - (req.method == "UPDATE") || - (req.method == "NOTIFY"))) || - (req.method == "SUBSCRIBE")) + ((req.method.length()==6 && + ((req.method == "INVITE") || + (req.method == "UPDATE") || + (req.method == "NOTIFY"))) || + (req.method == "SUBSCRIBE"))) { remote_uri = req.from_uri;