patch-2.0.28 linux/fs/smbfs/sock.c
Next file: linux/include/asm-i386/vm86.h
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Dec 16 13:07:42 1996
- Orig file:
v2.0.27/linux/fs/smbfs/sock.c
- Orig date:
Mon Dec 30 16:01:48 1996
diff -u --recursive --new-file v2.0.27/linux/fs/smbfs/sock.c linux/fs/smbfs/sock.c
@@ -242,6 +242,10 @@
length - already_read, 0, 0,
NULL, NULL);
+ if (result == 0)
+ {
+ return -EIO;
+ }
if (result < 0)
{
DPRINTK("smb_receive_raw: recvfrom error = %d\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov