* Use syslog-compatible logging levels in lprintf(); the loglevel chosen
[citadel.git] / citadel / locate_host.c
index 31d65c9afdd1f5576f6edd5ddf318bef9fb4fad1..09aef65451542cf7f90d5a860f164b191fef74e7 100644 (file)
@@ -35,7 +35,7 @@ void locate_host(char *tbuf, size_t n,
        int a1, a2, a3, a4;
        char address_string[SIZ];
 
-       lprintf(9, "locate_host() called\n");
+       lprintf(CTDL_DEBUG, "locate_host() called\n");
 
 #ifdef HAVE_NONREENTRANT_NETDB
        begin_critical_section(S_NETDB);
@@ -83,7 +83,7 @@ bad_dns:
 #endif
 
        tbuf[63] = 0;
-       lprintf(9, "locate_host() exiting\n");
+       lprintf(CTDL_DEBUG, "locate_host() exiting\n");
 }