Skip to content

Commit

Permalink
Fix a crash in libnss_wins
Browse files Browse the repository at this point in the history
lp_set_parm accesses the case tables
  • Loading branch information
vlendec committed Dec 28, 2010
1 parent 5717114 commit 181cd32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsswitch/wins.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ static int wins_lookup_open_socket_in(void)
static void nss_wins_init(void)
{
initialised = 1;
load_case_tables();
lp_set_cmdline("log level", "0");

TimeInit();
setup_logging("nss_wins",False);
load_case_tables();
lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
load_interfaces();
}
Expand Down

0 comments on commit 181cd32

Please sign in to comment.