Prechádzať zdrojové kódy

tm: log an error message as error, not debug

Alex Hermann 11 rokov pred
rodič
commit
54f19e018a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      modules/tm/t_reply.c

+ 1 - 1
modules/tm/t_reply.c

@@ -599,7 +599,7 @@ static int _reply_light( struct cell *trans, char* buf, unsigned int len,
 	init_cancel_info(&cancel_data);
 	if (!buf)
 	{
-		DBG("DEBUG: _reply_light: response building failed\n");
+		LOG(L_ERR, "ERROR: _reply_light: response building failed\n");
 		/* determine if there are some branches to be canceled */
 		if ( is_invite(trans) ) {
 			prepare_to_cancel(trans, &cancel_data.cancel_bitmap, 0);