Commit Diff
Diff:
318ac15875cf0b3b46b9170783589237aafba5ef
b34a907a44fb629a57e196b3ee90def6857a3cb8
Commit:
b34a907a44fb629a57e196b3ee90def6857a3cb8
Tree:
75e488beaf48ba29ffb7307d53b3357b13043ef8
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Feb 1 07:38:04 2020 UTC
Message:
The last commit was not fully effective. There is 2 more instances where the formatting had problems. Found on linux while testing a snapshot. New code still tested on OpenBSD/octeon.
blob - ea663793864b7ccaf53d47da54a38868e291ef27
blob + ee7a83fe75c8f0c1d56f71214c764c32af1b1858
--- raxfr.c
+++ raxfr.c
@@ -26,7 +26,7 @@
*
*/
/*
- * $Id: raxfr.c,v 1.48 2020/01/31 18:27:03 pjp Exp $
+ * $Id: raxfr.c,v 1.49 2020/02/01 07:38:04 pjp Exp $
*/
#include <sys/types.h>
@@ -1446,7 +1446,7 @@ replicantloop(ddDB *db, struct imsgbuf *ibuf, struct i
dolog(LOG_INFO, "timeout upon notify, dropping\n");
} else if (serial > lrz->soa.serial) {
/* initiate AXFR and update zone */
- dolog(LOG_INFO, "zone %s new higher serial detected (%ld vs. %ld)\n", lrz->zonename, serial, lrz->soa.serial);
+ dolog(LOG_INFO, "zone %s new higher serial detected (%lld vs. %d)\n", lrz->zonename, serial, lrz->soa.serial);
if (pull_rzone(lrz, now) < 0) {
dolog(LOG_INFO, "AXFR failed\n");
@@ -1537,7 +1537,7 @@ replicantloop(ddDB *db, struct imsgbuf *ibuf, struct i
} else if (serial > lrz->soa.serial) {
/* initiate AXFR and update zone */
- dolog(LOG_INFO, "zone %s new higher serial detected (%ld vs. %ld)\n", lrz->zonename, serial, lrz->soa.serial);
+ dolog(LOG_INFO, "zone %s new higher serial detected (%lld vs. %d)\n", lrz->zonename, serial, lrz->soa.serial);
if (pull_rzone(lrz, now) < 0) {
dolog(LOG_ERR, "AXFR for zone %s failed\n", lrz->zonename);
repomaster@centroid.eu