summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 98c3e90c06..49733b0767 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -68,7 +68,7 @@ BOOL readwrite_pipe(pipes_struct *p, char *data, int len,
{
return False;
}
- (*rlen) = read(p->m->fd, (*rdata), (*rlen));
+ (*rlen) = read_data(p->m->fd, (*rdata), (*rlen));
if ((*rlen) < 0)
{
return False;
@@ -115,6 +115,6 @@ int read_pipe(pipes_struct *p, char *data, int n)
return -1;
}
- return read(p->m->fd, data, n);
+ return read_data(p->m->fd, data, n);
}