svn commit: samba r7927 - in branches/SAMBA_4_0/source/rpc_server: .
tridge at samba.org
tridge at samba.org
Sun Jun 26 07:31:45 GMT 2005
Author: tridge
Date: 2005-06-26 07:31:45 +0000 (Sun, 26 Jun 2005)
New Revision: 7927
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7927
Log:
fixed an error on partial socket writes in the rpc server
Modified:
branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c 2005-06-26 06:09:03 UTC (rev 7926)
+++ branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c 2005-06-26 07:31:45 UTC (rev 7927)
@@ -1103,7 +1103,7 @@
write_fn() should return the number of bytes successfully written.
- this will return STATUS_BUFFER_OVERFLOW if there is more to be read
+ this will return STATUS_BUFFER_OVERFLOW if there is more to be written
from the current fragment
*/
NTSTATUS dcesrv_output(struct dcesrv_connection *dce_conn,
Modified: branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c 2005-06-26 06:09:03 UTC (rev 7926)
+++ branches/SAMBA_4_0/source/rpc_server/dcerpc_sock.c 2005-06-26 07:31:45 UTC (rev 7927)
@@ -134,7 +134,7 @@
NTSTATUS status;
status = dcesrv_output(dce_conn, conn->socket, dcerpc_write_fn);
- if (!NT_STATUS_IS_OK(status)) {
+ if (NT_STATUS_IS_ERR(status)) {
dcesrv_terminate_connection(dce_conn, "eof on socket");
return;
}
More information about the samba-cvs
mailing list