summaryrefslogtreecommitdiff
path: root/source3/lib/util_sock.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-02 17:23:35 +0100
committerVolker Lendecke <vl@samba.org>2009-02-02 20:15:03 +0100
commitd3f9b0fab67285d061719e69c1c6e9c4ce80fb36 (patch)
tree5422a6a589140dfb265a4c6826706b798328b570 /source3/lib/util_sock.c
parentaf736923a541df1a37afeb72b8a5652932c4c69c (diff)
downloadsamba-d3f9b0fab67285d061719e69c1c6e9c4ce80fb36.tar.gz
samba-d3f9b0fab67285d061719e69c1c6e9c4ce80fb36.tar.bz2
samba-d3f9b0fab67285d061719e69c1c6e9c4ce80fb36.zip
Next step disentangling async_req from NTSTATUS
Now I need to document this :-)
Diffstat (limited to 'source3/lib/util_sock.c')
-rw-r--r--source3/lib/util_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index bafcdc5c5c..78431d93c8 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -1077,7 +1077,7 @@ static void open_socket_out_connected(struct async_req *subreq)
subreq = async_connect_send(state, state->ev, state->fd,
(struct sockaddr *)&state->ss,
state->salen);
- if (async_req_ntnomem(subreq, req)) {
+ if (async_req_nomem(subreq, req)) {
return;
}
if (!async_req_set_timeout(subreq, state->ev,
@@ -1209,7 +1209,7 @@ static void open_socket_out_defer_waited(struct async_req *subreq)
subreq = open_socket_out_send(state, state->ev, &state->ss,
state->port, state->timeout);
- if (async_req_ntnomem(subreq, req)) {
+ if (async_req_nomem(subreq, req)) {
return;
}
subreq->async.fn = open_socket_out_defer_connected;