diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-05-05 17:08:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-05-17 23:24:34 +0200 |
commit | 1f8a584f6a1387b1d009bb2231025e5b39fb5fda (patch) | |
tree | c34a17310a0b91808654af382c2c9b48f129d801 /lib/netrc.c | |
parent | f3e0f071b14fcb46a453f69bdf4e062bcaacf362 (diff) | |
download | curl-1f8a584f6a1387b1d009bb2231025e5b39fb5fda.tar.gz |
netrc: CURL_DISABLE_NETRC
Diffstat (limited to 'lib/netrc.c')
-rw-r--r-- | lib/netrc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/netrc.c b/lib/netrc.c index aba355b76..1bd998f9c 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, 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 @@ -21,6 +21,7 @@ ***************************************************************************/ #include "curl_setup.h" +#ifndef CURL_DISABLE_NETRC #ifdef HAVE_PWD_H #include <pwd.h> @@ -240,3 +241,5 @@ int Curl_parsenetrc(const char *host, return retcode; } + +#endif |