Browse code

(core|modules/tm): corrected ambiguous error messages.

- As per Henning's suggestions.

Peter Dunkley authored on 06/11/2012 22:28:55
Showing 2 changed files
... ...
@@ -428,7 +428,7 @@ static int prepare_new_uac( struct cell *t, struct sip_msg *i_req,
428 428
 	/* ... and build it now */
429 429
 	shbuf=build_req_buf_from_sip_req( i_req, &len, dst, BUILD_IN_SHM);
430 430
 	if (!shbuf) {
431
-		LM_ERR("building request\n"); 
431
+		LM_ERR("could not build request\n"); 
432 432
 		ret=E_OUT_OF_MEM;
433 433
 		goto error01;
434 434
 	}
... ...
@@ -1722,7 +1722,7 @@ char * build_req_buf_from_sip_req( struct sip_msg* msg,
1722 1722
 	if (unlikely(via_anchor==0)) goto error00;
1723 1723
 	line_buf = create_via_hf( &via_len, msg, send_info, &branch);
1724 1724
 	if (unlikely(!line_buf)){
1725
-		LM_WARN("creating Via header\n");
1725
+		LM_ERR("could not create Via header\n");
1726 1726
 		goto error00;
1727 1727
 	}
1728 1728
 after_local_via: