summaryrefslogtreecommitdiff
path: root/dns/noip/files/patch-noip.c
blob: 04b51cdfffd6a09415bf53e7e82fc4ccc150534b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- noip.c.bak	Sat Mar 30 17:59:58 2002
+++ noip.c	Sat Mar 30 17:59:15 2002
@@ -452,7 +452,8 @@
 		    else
 			getip(IPaddress);
 #ifdef DEBUG
-		    ErrMsg("! LIA = %s, IP = %s",Last_IP_Addr, IPaddress);
+		    if (debug)
+			ErrMsg("! LIA = %s, IP = %s",Last_IP_Addr, IPaddress);
 #endif
 		    if ((*IPaddress != 0) && 
 				(strcmp(IPaddress, Last_IP_Addr) != 0)) {