summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/misc.c b/src/misc.c
index 469e449f1..478fe98bb 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1107,12 +1107,11 @@ char *host_resolve(char *host)
ntoa(addr, ipbuf, sizeof(ipbuf));
ipreturn = sstrdup(ipbuf);
if (debug) {
- alog("Resolved %s to %s",host, ipbuf);
+ alog("debug: resolved %s to %s",host, ipbuf);
}
return ipreturn;
- }
- else {
- return ipreturn;
+ } else {
+ return ipreturn;
}
}