From 6c99c38cbf8726090648e081a690039c6eb59f62 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 8 Mar 2001 22:29:39 +0000 Subject: Fixed double fclose() call (I love insure :-). Jeremy. (This used to be commit 0a84839dc046c17375daea4ed18ef118887ef421) --- source3/nmbd/nmbd_synclists.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/nmbd/nmbd_synclists.c') 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; } -- cgit