summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_synclists.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-01 22:06:53 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-01 22:06:53 +0000
commita76fee73337aca00973ca744f3c41906a72e5855 (patch)
treee95371767e795740b3abb2804a1c87225d43512a /source3/nmbd/nmbd_synclists.c
parentc15b95cd1ede75b38d3a2c5192f2d1fd2a310c9a (diff)
downloadsamba-a76fee73337aca00973ca744f3c41906a72e5855.tar.gz
samba-a76fee73337aca00973ca744f3c41906a72e5855.tar.bz2
samba-a76fee73337aca00973ca744f3c41906a72e5855.zip
more cli_session_setup() calls. what the heck are these doing???
they should all be replaced with cli_establish_connection(). created cli_use_wait_keyboard() which waits on multiple cli_states and swallows session keepalives. (This used to be commit fcc39b3f4f2f8d04d3fab09db048b4f3dc1e97d5)
Diffstat (limited to 'source3/nmbd/nmbd_synclists.c')
-rw-r--r--source3/nmbd/nmbd_synclists.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index dae25b6eca..aab1e4349c 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -92,7 +92,7 @@ static void sync_child(char *name, int nm_type,
return;
}
- if (!cli_session_setup(&cli, "", "", 1, "", 0, workgroup)) {
+ if (!cli_session_setup(&cli, local_machine, "", "", 1, "", 0, workgroup)) {
cli_shutdown(&cli);
return;
}