[sr-dev] git:master:fb5f2855: modules/ims_auth: missing bracket

jaybeepee jason.penton at gmail.com
Mon Sep 12 17:12:57 CEST 2016


Module: kamailio
Branch: master
Commit: fb5f28558979af0c53c9ed919ccc91e0e8631667
URL: https://github.com/kamailio/kamailio/commit/fb5f28558979af0c53c9ed919ccc91e0e8631667

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-09-12T17:12:25+02:00

modules/ims_auth: missing bracket

---

Modified: modules/ims_auth/pvt_message.c

---

Diff:  https://github.com/kamailio/kamailio/commit/fb5f28558979af0c53c9ed919ccc91e0e8631667.diff
Patch: https://github.com/kamailio/kamailio/commit/fb5f28558979af0c53c9ed919ccc91e0e8631667.patch

---

diff --git a/modules/ims_auth/pvt_message.c b/modules/ims_auth/pvt_message.c
index 17f852e..4c4d056 100644
--- a/modules/ims_auth/pvt_message.c
+++ b/modules/ims_auth/pvt_message.c
@@ -84,7 +84,7 @@ struct sip_msg* get_request_from_tx(struct cell *t) {
         (which we cannot assume) then we would pollute the shm_msg t->uas.request if we did any parsing on it. Instead, we need to 
         make a private copy of the message and free it when we are done 
          */
-        if ((_pv_treq.T != t || t->uas.request != _pv_treq.tmsgp) {
+        if (_pv_treq.T != t || t->uas.request != _pv_treq.tmsgp) {
             /* make a copy */
             if (_pv_treq.buf == NULL || _pv_treq.buf_size < t->uas.request->len + 1) {
                 if (_pv_treq.buf != NULL)
@@ -128,4 +128,4 @@ struct sip_msg* get_request_from_tx(struct cell *t) {
     } else
         return 0;
 
-}
\ No newline at end of file
+}




More information about the sr-dev mailing list