summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2006-12-14 22:45:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:18 -0500
commit9775696af104b98742c24634422059ec472f36b6 (patch)
tree69a5278eb1a735fa9f044a09eadf8495db3ecc6b /source4/libnet
parent89bb9a47de00d979f68469b705fb2960142cb0cb (diff)
downloadsamba-9775696af104b98742c24634422059ec472f36b6.tar.gz
samba-9775696af104b98742c24634422059ec472f36b6.tar.bz2
samba-9775696af104b98742c24634422059ec472f36b6.zip
r20177: return the actual function status code.
rafal (This used to be commit 2d046cc0df820edc141a74e7d204e4fba462e037)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_lookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 5e6958543b..0efda32603 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -392,6 +392,8 @@ static void continue_name_found(struct rpc_request *req)
c->status = dcerpc_ndr_request_recv(req);
if (!composite_is_ok(c)) return;
+ c->status = s->lookup.out.result;
+
composite_done(c);
}