From 87fbca595aa25658a4197b084365f11f1288abc6 Mon Sep 17 00:00:00 2001 From: brian Date: Thu, 25 May 2000 16:12:55 +0000 Subject: [PATCH] Fix a topy (if (expr); command;) Submitted by: Renaud Waldura --- usr.sbin/ppp/ipcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 017c1261f480..fad81c99dc01 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -370,7 +370,7 @@ ipcp_WriteDNS(struct ipcp *ipcp) mask = umask(022); if ((fp = ID0fopen(_PATH_RESCONF, "w")) != NULL) { umask(mask); - if (ipcp->ns.resolv_nons); + if (ipcp->ns.resolv_nons) fputs(ipcp->ns.resolv_nons, fp); paddr = inet_ntoa(ipcp->ns.dns[0]); log_Printf(LogIPCP, "Primary nameserver set to %s\n", paddr);