summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-21 23:36:47 +0000
committerJeremy Allison <jra@samba.org>2002-01-21 23:36:47 +0000
commit71bc6b9af24bbf2f59ef6407419f02c6709fcced (patch)
tree3a1fbb4d9a5aaf660f8b4bb9082f4bfabc75d8b2
parent2383fd87a7c05b56f98bf64fa9ef536a6217f3a5 (diff)
downloadsamba-71bc6b9af24bbf2f59ef6407419f02c6709fcced.tar.gz
samba-71bc6b9af24bbf2f59ef6407419f02c6709fcced.tar.bz2
samba-71bc6b9af24bbf2f59ef6407419f02c6709fcced.zip
Removed freebsd hack. Not correct.
Jeremy. (This used to be commit 61b4ce7aef53ab82bdc5bc214e50c1891e097c11)
-rw-r--r--source3/lib/util_sock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 10ed2aaa0b..6de09553e0 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -681,11 +681,7 @@ BOOL receive_smb(int fd,char *buffer, unsigned int timeout)
}
if(len > 0) {
-#ifdef FREEBSD_TCP_BUG
- ret = read_socket_with_timeout(fd,buffer+4,len,len,10000);
-#else
ret = read_socket_data(fd,buffer+4,len);
-#endif
if (ret != len) {
smb_read_error = READ_ERROR;
return False;