From a2e5e6e267b15cad23bca8be15bca06383865ed7 Mon Sep 17 00:00:00 2001 From: Henning Westerholt Date: Sun, 1 Sep 2019 20:08:39 +0200 Subject: [PATCH] seas: remove a code block related to tag generation which was commented out since 2006 --- src/modules/seas/seas_action.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/modules/seas/seas_action.c b/src/modules/seas/seas_action.c index 7c963e6fe7a..cd62848ab02 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)