patch-2.1.25 linux/fs/smbfs/sock.c
Next file: linux/include/asm-i386/checksum.h
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Sun Feb 2 15:18:47 1997
- Orig file:
v2.1.24/linux/fs/smbfs/sock.c
- Orig date:
Wed Dec 18 15:58:51 1996
diff -u --recursive --new-file v2.1.24/linux/fs/smbfs/sock.c linux/fs/smbfs/sock.c
@@ -240,6 +240,10 @@
(void *) (source + already_sent),
length - already_sent, 0, 0);
+ if (result == 0)
+ {
+ return -EIO;
+ }
if (result < 0)
{
DPRINTK("smb_send_raw: sendto error = %d\n",
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov