mirror of
https://github.com/mirror/wget.git
synced 2025-03-25 17:20:13 +08:00
* src/netrc.c: Search for the correct netrc file on Windows
This commit is contained in:
parent
047746eb76
commit
d26c6c0028
@ -42,7 +42,11 @@ as that of the covered work. */
|
|||||||
#include "netrc.h"
|
#include "netrc.h"
|
||||||
#include "init.h"
|
#include "init.h"
|
||||||
|
|
||||||
#define NETRC_FILE_NAME ".netrc"
|
#ifdef WINDOWS
|
||||||
|
# define NETRC_FILE_NAME "_netrc"
|
||||||
|
#else
|
||||||
|
# define NETRC_FILE_NAME ".netrc"
|
||||||
|
#endif
|
||||||
|
|
||||||
static acc_t *netrc_list;
|
static acc_t *netrc_list;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user