mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Return error on every read after the first that returns EOF.
svn path=/trunk/; revision=12220
This commit is contained in:
parent
08f643dfc4
commit
b950b4dd97
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: read.c,v 1.14 2004/12/04 23:29:54 arty Exp $
|
||||
/* $Id: read.c,v 1.15 2004/12/19 10:26:01 arty Exp $
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE: drivers/net/afd/afd/read.c
|
||||
|
@ -275,7 +275,7 @@ AfdConnectedSocketReadData(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
|||
AFD_DbgPrint(MID_TRACE,("EOF Happened already\n"));
|
||||
FCB->Recv.Content = 0;
|
||||
FCB->Recv.BytesUsed = 0;
|
||||
Status = STATUS_SUCCESS;
|
||||
Status = STATUS_END_OF_FILE;
|
||||
|
||||
ProcessClose( FCB );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue