diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-28 06:49:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:25 -0500 |
commit | 5d31bce8b6070e13ce7e2e8e3dee273233b42c46 (patch) | |
tree | 9aaee992a03691568301484a498beeba66bcf8fb /source4/smb_server/smb | |
parent | 318682b00377605a26d0b7fd4b59713c6c429b81 (diff) | |
download | samba-5d31bce8b6070e13ce7e2e8e3dee273233b42c46.tar.gz samba-5d31bce8b6070e13ce7e2e8e3dee273233b42c46.tar.bz2 samba-5d31bce8b6070e13ce7e2e8e3dee273233b42c46.zip |
r18972: we don't need this now all builds in the build farm are limited to 150
file descriptors. We'll pretty quickly find leaks :)
(This used to be commit be70992d71d7b8db64702f9be2b29aac3e463590)
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r-- | source4/smb_server/smb/receive.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c index f352db7488..775611c417 100644 --- a/source4/smb_server/smb/receive.c +++ b/source4/smb_server/smb/receive.c @@ -78,18 +78,6 @@ NTSTATUS smbsrv_recv_smb_request(void *private, DATA_BLOB blob) smb_conn->statistics.last_request_time = cur_time; - /* a temporary hack to allow me to find a possible file descriptor leak in - build farm machines (tridge) */ - { - static int maxfd; - int xfd = open("/dev/null", O_RDONLY); - close(xfd); - if (xfd > maxfd) { - maxfd = xfd; - DEBUG(0,("MAXFD=%d\n", maxfd)); - } - } - /* see if its a special NBT packet */ if (CVAL(blob.data, 0) != 0) { req = smbsrv_init_request(smb_conn); |