Fixed double fclose() call (I love insure :-).
authorJeremy Allison <jra@samba.org>
Thu, 8 Mar 2001 22:29:39 +0000 (22:29 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 8 Mar 2001 22:29:39 +0000 (22:29 +0000)
Jeremy.
(This used to be commit 0a84839dc046c17375daea4ed18ef118887ef421)

source3/nmbd/nmbd_synclists.c

index bc731a9ceb783d58159477ec9fd58ffcfff169c1..23cbc01b889348b4fd7c9c2018a83202abdaaabb 100644 (file)
@@ -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;
        }