summaryrefslogtreecommitdiff
path: root/lib/asyn-thread.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-17 20:59:43 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-17 20:59:43 +0100
commit158dfe2c5c9e45faa1364c21782b0fd693d32354 (patch)
treec2dc570fa95c95a8735520308a947142c5124bf9 /lib/asyn-thread.c
parent8f5336a2fad1395cf19fd8d6272777569feb45bd (diff)
downloadcurl-158dfe2c5c9e45faa1364c21782b0fd693d32354.tar.gz
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.
Diffstat (limited to 'lib/asyn-thread.c')
-rw-r--r--lib/asyn-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c
index 206dcdb1f..4882c3720 100644
--- a/lib/asyn-thread.c
+++ b/lib/asyn-thread.c
@@ -636,10 +636,10 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data,
}
CURLcode Curl_set_dns_interface(struct SessionHandle *data,
- const char *interface)
+ const char *interf)
{
(void)data;
- (void)interface;
+ (void)interf;
return CURLE_NOT_BUILT_IN;
}