From 525bffefc83a0fe72fedaabf4127d99146b8d78a Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Mon, 26 Mar 2012 11:33:25 -0400
Subject: [PATCH] #8320: Rename declared exception to avoid parameter shadowing

---
 daemon/src/sip/sipvoiplink.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon/src/sip/sipvoiplink.cpp b/daemon/src/sip/sipvoiplink.cpp
index b1e72306da..f61cec7165 100644
--- a/daemon/src/sip/sipvoiplink.cpp
+++ b/daemon/src/sip/sipvoiplink.cpp
@@ -1907,8 +1907,8 @@ void transaction_state_changed_cb(pjsip_inv_session * inv,
 
         Manager::instance().incomingMessage(call->getCallId(), from, findTextMessage(formattedMessage));
 
-    } catch (const sfl::InstantMessageException &e) {
-        ERROR("SipVoipLink: %s", e.what());
+    } catch (const sfl::InstantMessageException &except) {
+        ERROR("SipVoipLink: %s", except.what());
     }
 }
 
-- 
GitLab