Ver Fonte

pv: debug message with intermediate message to evaluate by pv_evalx()

Daniel-Constantin Mierla há 7 anos atrás
pai
commit
03698a4b2e
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/modules/pv/pv.c

+ 1 - 0
src/modules/pv/pv.c

@@ -1001,6 +1001,7 @@ int w_pv_evalx(struct sip_msg *msg, char *dst, str *fmt)
 		goto error;
 	}
 
+	LM_DBG("preparing to evaluate: [%.*s]\n", tstr.len, tstr.s);
 	if(pv_eval_str(msg, &val.rs, &tstr)<0){
 		LM_ERR("cannot eval reparsed value of second parameter\n");
 		return -1;