1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

sync 3.0 branch with head

(This used to be commit 18aeccd1b89f69f726212b6d5c3232c9d74116c7)
This commit is contained in:
Jelmer Vernooij 2002-08-17 14:31:10 +00:00
parent 21d26afb2a
commit e51ed63864
2 changed files with 2 additions and 3 deletions

View File

@ -152,7 +152,7 @@ initialise and fill the in-memory partner table.
int init_wins_partner_table(void)
{
int i=1,j=0,k;
char **partner = str_list_make(lp_wins_partners());
char **partner = str_list_make(lp_wins_partners(), NULL);
if (partner==NULL) {
DEBUG(0,("wrepld: no partner list in smb.conf, exiting\n"));

View File

@ -26,7 +26,6 @@ extern pstring global_myname;
extern pstring user_socket_options;
extern fstring remote_machine;
extern WINS_OWNER *global_wins_table;
extern int partner_count;
@ -637,7 +636,7 @@ static void process(void)
lp_set_logfile(logfile);
}
pstrcpy(remote_machine, "wrepld");
set_remote_machine_name("wrepld");
setup_logging(argv[0],interactive);