]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
log: cleanup
authorMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 8 Dec 2014 14:30:28 +0000 (15:30 +0100)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Mon, 8 Dec 2014 14:30:28 +0000 (15:30 +0100)
daemon/main.c
lib/cache.c

index 06e34da18e81fab1fe0e6a9810422cdad38a2891..688e1ed8317c9970306673b353160450b6213ac0 100644 (file)
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
        uv_udp_init(loop, &udp_sock);
        ret = uv_udp_bind(&udp_sock, (struct sockaddr *)&addr, 0);
        if (ret == 0) {
-               fprintf(stdout, "[system] listening on '%s'\n", addr_str);
+               printf("[system] listening on '%s'\n", addr_str);
        } else {
                fprintf(stderr, "[system] failed to bind to '%s'\n", addr_str);
                return EXIT_FAILURE;
index 51198aa5b37320c5d274ad5f4b7c725f83d41874..42addbb493f08e86b5535142abf489ad8ff5fa0a 100644 (file)
@@ -72,7 +72,7 @@ static int dbase_open(struct kr_cache *cache, const char *handle)
                return ret;
        }
 
-       DEBUG_MSG("OPEN '%s'\n", handle);
+       DEBUG_MSG("open '%s'\n", handle);
        return 0;
 }
 
@@ -80,7 +80,7 @@ static void dbase_close(struct kr_cache *cache)
 {
        mdb_close(cache->env, cache->dbi);
        mdb_env_close(cache->env);
-       DEBUG_MSG("CLOSE\n");
+       DEBUG_MSG("close\n");
 }
 
 /*                       data access                                          */