diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-04-23 09:22:18 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-23 09:30:10 +0200 |
commit | dcf82e5869c885c1e62c4d317bb466a82cee249f (patch) | |
tree | 588b6c0a3fa34e9cc9b53a78ad612a929bbe9930 /source4 | |
parent | 9ea9ad2de00749e32107975611a3adfa71d7b9f3 (diff) | |
download | samba-dcf82e5869c885c1e62c4d317bb466a82cee249f.tar.gz samba-dcf82e5869c885c1e62c4d317bb466a82cee249f.tar.bz2 samba-dcf82e5869c885c1e62c4d317bb466a82cee249f.zip |
s4:libnet_become_dc: add missing 'return' after composite_error()
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index c7d0b30503..28bb5a1e0e 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -2395,6 +2395,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) "method succeeded but objects returned are %d (expected 1).\n", r->out.ctr->ctr3.count)); composite_error(c, NT_STATUS_INVALID_NETWORK_RESPONSE); + return; } s->dest_dsa.ntds_guid = r->out.ctr->ctr3.objects[0].guid; @@ -2416,6 +2417,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) r->out.ctr->ctr2.dir_err, win_errstr(r->out.ctr->ctr2.extended_err))); composite_error(c, NT_STATUS_INVALID_NETWORK_RESPONSE); + return; } s->dest_dsa.ntds_guid = r->out.ctr->ctr2.objects[0].guid; |