diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-17 20:59:43 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-17 20:59:43 +0100 |
commit | 158dfe2c5c9e45faa1364c21782b0fd693d32354 (patch) | |
tree | c2dc570fa95c95a8735520308a947142c5124bf9 /lib/hostsyn.c | |
parent | 8f5336a2fad1395cf19fd8d6272777569feb45bd (diff) | |
download | curl-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/hostsyn.c')
-rw-r--r-- | lib/hostsyn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hostsyn.c b/lib/hostsyn.c index 24f8dd82c..4ad3c63da 100644 --- a/lib/hostsyn.c +++ b/lib/hostsyn.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2013, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -77,10 +77,10 @@ CURLcode Curl_set_dns_servers(struct SessionHandle *data, * outgoing interface to use for DNS requests */ 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; } |