[sr-dev] git:master:a2e5e6e2: seas: remove a code block related to tag generation which was commented out since 2006

Henning Westerholt hw at skalatan.de
Sun Sep 1 22:56:58 CEST 2019


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

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2019-09-01T22:55:59+02:00

seas: remove a code block related to tag generation which was commented out since 2006

---

Modified: src/modules/seas/seas_action.c

---

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

---

diff --git a/src/modules/seas/seas_action.c b/src/modules/seas/seas_action.c
index 7c963e6fe7..cd62848ab0 100644
--- a/src/modules/seas/seas_action.c
+++ b/src/modules/seas/seas_action.c
@@ -687,15 +687,6 @@ int ac_reply(as_p the_as,unsigned char processor_id,unsigned int flags,char *act
    }else{
       totag.s=NULL;
       totag.len=0;
-      /*if(!(ttag=pkg_malloc(TOTAG_VALUE_LEN))){
-	 LM_ERR("Out of memory !!!\n");
-	 goto error;
-      }
-      totag.s=ttag;
-      calc_crc_suffix(c->uas.request,seas_tag_suffix);
-      LM_DBG("seas_tags = %.*s\n",TOTAG_VALUE_LEN,seas_tags);
-      memcpy(totag.s,seas_tags,TOTAG_VALUE_LEN);
-      totag.len=TOTAG_VALUE_LEN;*/
    }
    LM_DBG("Using totag=[%.*s]\n",totag.len,totag.s);
    if(my_msg->content_length)




More information about the sr-dev mailing list