summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-08 22:29:39 +0000
committerJeremy Allison <jra@samba.org>2001-03-08 22:29:39 +0000
commit6c99c38cbf8726090648e081a690039c6eb59f62 (patch)
treeb5e16b6d4f2c92e49bc27bdf1eb56d882c492d32 /source3/nmbd
parent25db9b02ba36b25c3254bbb44323fcbfa2a2a5e7 (diff)
downloadsamba-6c99c38cbf8726090648e081a690039c6eb59f62.tar.gz
samba-6c99c38cbf8726090648e081a690039c6eb59f62.tar.bz2
samba-6c99c38cbf8726090648e081a690039c6eb59f62.zip
Fixed double fclose() call (I love insure :-).
Jeremy. (This used to be commit 0a84839dc046c17375daea4ed18ef118887ef421)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_synclists.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index bc731a9ceb..23cbc01b88 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -74,7 +74,6 @@ static void sync_child(char *name, int nm_type,
struct nmb_name called, calling;
if (!cli_initialise(&cli) || !cli_connect(&cli, name, &ip)) {
- fclose(fp);
return;
}
@@ -84,7 +83,6 @@ static void sync_child(char *name, int nm_type,
if (!cli_session_request(&cli, &calling, &called))
{
cli_shutdown(&cli);
- fclose(fp);
return;
}