Hi,

Is there a reason why we need the m_hdrs variable in
AmBasicSipDialog::reply() ? I can't see any.

br

Szo
diff --git a/core/AmBasicSipDialog.cpp b/core/AmBasicSipDialog.cpp
index 5caa583..89af396 100644
--- a/core/AmBasicSipDialog.cpp
+++ b/core/AmBasicSipDialog.cpp
@@ -571,7 +571,6 @@ int AmBasicSipDialog::reply(const AmSipRequest& req,
   }
   DBG("reply: transaction found!\n");
     
-  string m_hdrs = hdrs;
   AmSipReply reply;
 
   reply.code = code;
@@ -579,7 +578,7 @@ int AmBasicSipDialog::reply(const AmSipRequest& req,
   reply.tt = req.tt;
   if((code > 100) && !(flags & SIP_FLAGS_NOTAG))
     reply.to_tag = ext_local_tag.empty() ? local_tag : ext_local_tag;
-  reply.hdrs = m_hdrs;
+  reply.hdrs = hdrs;
   reply.cseq = req.cseq;
   reply.cseq_method = req.method;
 
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to