mirror of
https://github.com/mirror/wget.git
synced 2025-01-15 23:01:07 +08:00
* src/netrc.c (netrc_cleanup): Only compile for DEBUG_MALLOC or TESTING
This commit is contained in:
parent
8215479ffb
commit
b0e94e582b
@ -64,12 +64,14 @@ static void free_netrc(acc_t *);
|
||||
static acc_t *netrc_list;
|
||||
static int processed_netrc;
|
||||
|
||||
#if defined DEBUG_MALLOC || defined TESTING
|
||||
void
|
||||
netrc_cleanup(void)
|
||||
{
|
||||
free_netrc (netrc_list);
|
||||
processed_netrc = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Return the correct user and password, given the host, user (as
|
||||
given in the URL), and password (as given in the URL). May return
|
||||
|
Loading…
Reference in New Issue
Block a user