Explorar o código

test/misc: updated to use blocklist api

Daniel-Constantin Mierla %!s(int64=4) %!d(string=hai) anos
pai
achega
f294b39f5c
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. 3 3
      test/misc/code/p_uri.c
  2. 3 3
      test/misc/code/parse_to_body.c

+ 3 - 3
test/misc/code/p_uri.c

@@ -24,9 +24,9 @@ int my_pid() {return 0; };
 struct cfg_group_core default_core_cfg = {
 	L_DBG, /*  print only msg. < L_WARN */
 	LOG_DAEMON,	/* log_facility -- see syslog(3) */
-#ifdef USE_DST_BLACKLIST
-	/* blacklist */
-	0, /* dst blacklist is disabled by default */
+#ifdef USE_DST_BLOCKLIST
+	/* blocklist */
+	0, /* dst blocklist is disabled by default */
 	DEFAULT_BLST_TIMEOUT,
 	DEFAULT_BLST_MAX_MEM,
 #endif

+ 3 - 3
test/misc/code/parse_to_body.c

@@ -24,9 +24,9 @@ int my_pid() {return 0; };
 struct cfg_group_core default_core_cfg = {
 	L_DBG, /*  print only msg. < L_WARN */
 	LOG_DAEMON,	/* log_facility -- see syslog(3) */
-#ifdef USE_DST_BLACKLIST
-	/* blacklist */
-	0, /* dst blacklist is disabled by default */
+#ifdef USE_DST_BLOCKLIST
+	/* blocklist */
+	0, /* dst blocklist is disabled by default */
 	DEFAULT_BLST_TIMEOUT,
 	DEFAULT_BLST_MAX_MEM,
 #endif