Sfoglia il codice sorgente

xprint: updates to used log macros

Daniel-Constantin Mierla 5 anni fa
parent
commit
0c20b2976d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/modules/xprint/xprint.c

+ 2 - 2
src/modules/xprint/xprint.c

@@ -142,7 +142,7 @@ static int xplog(struct sip_msg* msg, char* lev, char* frm)
 		return -1;
 
 	/* log_buf[log_len] = '\0'; */
-	LOG_(DEFAULT_FACILITY, level, "<script>: ", "%.*s", log_len, log_buf);
+	LOG_FN(DEFAULT_FACILITY, level, "<script>: ", "%.*s", log_len, log_buf);
 
 	return 1;
 }
@@ -159,7 +159,7 @@ static int xpdbg(struct sip_msg* msg, char* frm, char* str2)
 		return -1;
 
 	/* log_buf[log_len] = '\0'; */
-	LOG_(DEFAULT_FACILITY, L_DBG, "<script>: ", "%.*s", log_len, log_buf);
+	LOG_FN(DEFAULT_FACILITY, L_DBG, "<script>: ", "%.*s", log_len, log_buf);
 
 	return 1;
 }