2
0
Эх сурвалжийг харах

topos: more appropriate error log when attepting to delete header

Daniel-Constantin Mierla 9 жил өмнө
parent
commit
5f780a202b

+ 1 - 1
modules/topos/tps_msg.c

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