Fix a topy (if (expr); command;)

Submitted by:	Renaud Waldura <renaud@guppy.evolunet.com>
This commit is contained in:
brian 2000-05-25 16:12:55 +00:00
parent 41d30906dc
commit 87fbca595a

View File

@ -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);