diff options
| author | Volker Lendecke <vl@samba.org> | 2014-11-19 14:06:49 +0000 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-12-07 00:12:07 +0100 |
| commit | a8491cb95a2c181d40b0b94cceff8d69d137935c (patch) | |
| tree | 6bdf806d414b886bc8a4480c508000b16c27cb6a /source3/smbd | |
| parent | 97b2570a5e526273476d3990bcef0ac074b34d67 (diff) | |
| download | samba-a8491cb95a2c181d40b0b94cceff8d69d137935c.tar.gz samba-a8491cb95a2c181d40b0b94cceff8d69d137935c.tar.xz samba-a8491cb95a2c181d40b0b94cceff8d69d137935c.zip | |
lib: read_data->read_data_ntstatus
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd')
| -rw-r--r-- | source3/smbd/notify_inotify.c | 2 | ||||
| -rw-r--r-- | source3/smbd/reply.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/notify_inotify.c b/source3/smbd/notify_inotify.c index 1fcd8ecd73..a9b7131ef7 100644 --- a/source3/smbd/notify_inotify.c +++ b/source3/smbd/notify_inotify.c @@ -219,7 +219,7 @@ static void inotify_handler(struct tevent_context *ev, struct tevent_fd *fde, if (e == NULL) return; ((uint8_t *)e)[bufsize] = '\0'; - status = read_data(in->fd, (char *)e0, bufsize); + status = read_data_ntstatus(in->fd, (char *)e0, bufsize); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Failed to read all inotify data - %s\n", nt_errstr(status))); diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index fd4ec53aed..cd13d68092 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4366,7 +4366,8 @@ void reply_writebraw(struct smb_request *req) (int)tcount,(int)nwritten,(int)numtowrite)); } - status = read_data(xconn->transport.sock, buf+4, numtowrite); + status = read_data_ntstatus(xconn->transport.sock, buf+4, + numtowrite); if (!NT_STATUS_IS_OK(status)) { /* Try and give an error message |
