diff options
Diffstat (limited to 'source3/nmbd/asyncdns.c')
-rw-r--r-- | source3/nmbd/asyncdns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c index 90340efe39..4468c7ba5d 100644 --- a/source3/nmbd/asyncdns.c +++ b/source3/nmbd/asyncdns.c @@ -90,7 +90,7 @@ static void asyncdns_process(void) while (1) { NTSTATUS status; - status = read_data(fd_in, (char *)&r, sizeof(r)); + status = read_data_ntstatus(fd_in, (char *)&r, sizeof(r)); if (!NT_STATUS_IS_OK(status)) { break; @@ -219,7 +219,7 @@ void run_dns_queue(struct messaging_context *msg) start_async_dns(msg); } - status = read_data(fd_in, (char *)&r, sizeof(r)); + status = read_data_ntstatus(fd_in, (char *)&r, sizeof(r)); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("read from child failed: %s\n", nt_errstr(status))); |