From 00ec8867374ffaae72fca3192a2e9722abd056f1 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Sat, 13 Nov 2010 19:04:28 -0500 Subject: [PATCH] Ident fix. --- ndhc/script.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ndhc/script.c b/ndhc/script.c index 8418a3e..6e26538 100644 --- a/ndhc/script.c +++ b/ndhc/script.c @@ -43,13 +43,15 @@ static int snprintip(char *dest, size_t size, unsigned char *ip) { - if (!dest) return -1; + if (!dest) + return -1; return snprintf(dest, size, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]); } static int sprintip(char *dest, size_t size, char *pre, unsigned char *ip) { - if (!dest) return -1; + if (!dest) + return -1; return snprintf(dest, size, "%s%d.%d.%d.%d", pre, ip[0], ip[1], ip[2], ip[3]); }