add suggested parentheses around ‘&&’ within ‘||’

sayer/1.4-spce2.6
Stefan Sayer 16 years ago
parent 844caecfca
commit 903e909f8b

@ -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;

Loading…
Cancel
Save