diff options
Diffstat (limited to 'source4/rpc_server/dcerpc_sock.c')
-rw-r--r-- | source4/rpc_server/dcerpc_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_sock.c b/source4/rpc_server/dcerpc_sock.c index ab05a3b8b7..317655cfcf 100644 --- a/source4/rpc_server/dcerpc_sock.c +++ b/source4/rpc_server/dcerpc_sock.c @@ -134,7 +134,7 @@ static void dcesrv_sock_send(struct stream_connection *conn, uint16_t flags) 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; } |