瀏覽代碼

topos: more appropriate error log when attepting to delete header

Daniel-Constantin Mierla 9 年之前
父節點
當前提交
5f780a202b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/topos/tps_msg.c

+ 1 - 1
modules/topos/tps_msg.c

@@ -121,7 +121,7 @@ int tps_remove_headers(sip_msg_t *msg, uint32_t hdr)
 			continue;
 			continue;
 		l=del_lump(msg, hf->name.s-msg->buf, hf->len, 0);
 		l=del_lump(msg, hf->name.s-msg->buf, hf->len, 0);
 		if (l==0) {
 		if (l==0) {
-			LM_ERR("no memory\n");
+			LM_ERR("failed to remove the header\n");
 			return -1;
 			return -1;
 		}
 		}
 	}
 	}