From 158dfe2c5c9e45faa1364c21782b0fd693d32354 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 17 Sep 2013 20:59:43 +0100 Subject: dns: fix compilation with MinGW from commit df69440d05f113 Avoid 'interface' literal that some MinGW versions define as a macro Additionally, corrected some very, very minor coding style errors. --- lib/hostip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.h') diff --git a/lib/hostip.h b/lib/hostip.h index 997800a88..42ed7d320 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -205,7 +205,7 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data, char *servers); * outgoing interface to use for DNS requests */ CURLcode Curl_set_dns_interface(struct SessionHandle *data, - const char *interface); + const char *interf); /* * Function provided by the resolver backend to set -- cgit v1.2.3