From 04b00f954c23843d225351be0473950d4f075a90 Mon Sep 17 00:00:00 2001 From: fbernon Date: Wed, 19 Dec 2007 20:52:02 +0000 Subject: [PATCH] Minor changes (replace DNS_COMPLETE by ERR_OK). --- ports/win32/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/win32/test.c b/ports/win32/test.c index 72832bf..463725f 100644 --- a/ports/win32/test.c +++ b/ports/win32/test.c @@ -300,7 +300,7 @@ apps_init() #if LWIP_DNS char* dnsname="3com.com"; struct ip_addr dnsresp; - if (dns_gethostbyname(dnsname, &dnsresp, dns_found, 0) == DNS_COMPLETE) { + if (dns_gethostbyname(dnsname, &dnsresp, dns_found, 0) == ERR_OK) { dns_found(dnsname, &dnsresp, 0); } #endif /* LWIP_DNS */