summaryrefslogtreecommitdiff
path: root/source/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
commit0a84839dc046c17375daea4ed18ef118887ef421 (patch)
tree65009a84f41493ab21745b077ff75147652cf9b1 /source/nmbd
parent81fe571daf62ff3f53d7137dcd30312b6874b786 (diff)
downloadsamba-0a84839dc046c17375daea4ed18ef118887ef421.tar.gz
Fixed double fclose() call (I love insure :-).
Jeremy.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd_synclists.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/nmbd/nmbd_synclists.c b/source/nmbd/nmbd_synclists.c
index bc731a9ceb7..23cbc01b889 100644
--- a/source/nmbd/nmbd_synclists.c
+++ b/source/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;
}