summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb_server.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-15 08:28:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:37 -0500
commita1748ef743b3d2e2af0880a91f948062d314b5ee (patch)
tree65c5127be294f910e651ec7dceb74886ff1a5b36 /source4/smb_server/smb_server.c
parent3d4879fdc9c88ddde7b4ae2f7347f8fd1853971a (diff)
downloadsamba-a1748ef743b3d2e2af0880a91f948062d314b5ee.tar.gz
samba-a1748ef743b3d2e2af0880a91f948062d314b5ee.tar.bz2
samba-a1748ef743b3d2e2af0880a91f948062d314b5ee.zip
r1514: close stuff from the server_connection not in the
close_connection fn of a specific service metze (This used to be commit 0e1f5e66d37deb7a77ae9f545e60685428fd9d21)
Diffstat (limited to 'source4/smb_server/smb_server.c')
-rw-r--r--source4/smb_server/smb_server.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 7d793bdf02..fd9e35074d 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -782,13 +782,10 @@ static void smbsrv_close(struct server_connection *conn, const char *reason)
DEBUG(5,("smbsrv_close: %s\n",reason));
- close(conn->event.fde->fd);
- event_remove_fd_all(conn->event.ctx, conn->socket->fde->fd);
- event_remove_timed(conn->event.ctx, conn->event.idle);
-
conn_close_all(smb_conn);
talloc_destroy(smb_conn->mem_ctx);
+
return;
}