]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove several superfluous newlines in log messages
authorTony Finch <fanf@isc.org>
Tue, 5 Apr 2022 12:16:00 +0000 (13:16 +0100)
committerTony Finch <fanf@isc.org>
Mon, 2 May 2022 22:49:38 +0000 (23:49 +0100)
lib/dns/adb.c
lib/isc/netmgr/netmgr-int.h
lib/ns/query.c

index 4a769f36351b85a2cd0a4f8e75c94151abc09192..09862194253f40063233b3fe31c3d65f6592c81e 100644 (file)
@@ -881,7 +881,7 @@ link_entry(dns_adbentrybucket_t *ebucket, dns_adbentry_t *entry) {
        REQUIRE(entry != NULL && entry->bucket == NULL);
        REQUIRE(!ISC_LINK_LINKED(entry, plink));
 
-       DP(DEF_LEVEL, "link ADB entry %p to bucket %p\n", entry, ebucket);
+       DP(DEF_LEVEL, "link ADB entry %p to bucket %p", entry, ebucket);
 
        /*
         * If we're in the overmem condition, take this opportunity to
@@ -937,7 +937,7 @@ unlink_entry(dns_adbentry_t *entry) {
 
        REQUIRE(ebucket != NULL);
 
-       DP(DEF_LEVEL, "unlink ADB entry %p from bucket %p\n", entry, ebucket);
+       DP(DEF_LEVEL, "unlink ADB entry %p from bucket %p", entry, ebucket);
 
        if ((entry->flags & ENTRY_IS_DEAD) != 0) {
                ISC_LIST_UNLINK(ebucket->deadentries, entry, plink);
@@ -2041,7 +2041,7 @@ destroy(dns_adb_t *adb) {
        isc_result_t result;
        isc_ht_iter_t *it = NULL;
 
-       DP(DEF_LEVEL, "destroying ADB %p\n", adb);
+       DP(DEF_LEVEL, "destroying ADB %p", adb);
 
        adb->magic = 0;
 
@@ -2248,7 +2248,7 @@ dns_adb_shutdown(dns_adb_t *adb) {
                return;
        }
 
-       DP(DEF_LEVEL, "shutting down ADB %p\n", adb);
+       DP(DEF_LEVEL, "shutting down ADB %p", adb);
 
        isc_mem_clearwater(adb->mctx);
 
index eb4b14e368f1ab3d8cd384288dd95022714512cc..10c56514af5e703a8e72046405e9e94662015d8c 100644 (file)
@@ -2155,8 +2155,8 @@ isc__nmsocket_readtimeout_cb(uv_timer_t *timer);
 void
 isc__nmsocket_writetimeout_cb(void *data, isc_result_t eresult);
 
-#define UV_RUNTIME_CHECK(func, ret)                                           \
-       if (ret != 0) {                                                       \
-               isc_error_fatal(__FILE__, __LINE__, "%s failed: %s\n", #func, \
-                               uv_strerror(ret));                            \
+#define UV_RUNTIME_CHECK(func, ret)                                         \
+       if (ret != 0) {                                                     \
+               isc_error_fatal(__FILE__, __LINE__, "%s failed: %s", #func, \
+                               uv_strerror(ret));                          \
        }
index d18bf7e22e24044c70870904c9e1ed61d69c5215..12905bf2433df595048fe86e4af3627b60c52b5d 100644 (file)
@@ -7005,7 +7005,7 @@ query_checkrrl(query_ctx_t *qctx, isc_result_t result) {
                ISC_LOG_DEBUG(99),
                "rrl=%p, HAVECOOKIE=%u, result=%s, "
                "fname=%p(%u), is_zone=%u, RECURSIONOK=%u, "
-               "query.rpz_st=%p(%u), RRL_CHECKED=%u\n",
+               "query.rpz_st=%p(%u), RRL_CHECKED=%u",
                qctx->client->view->rrl, HAVECOOKIE(qctx->client),
                isc_result_toid(result), qctx->fname,
                qctx->fname != NULL ? dns_name_isabsolute(qctx->fname) : 0,