diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-22 16:43:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-22 19:36:16 +1000 |
commit | 47712ab3dd63d3da408d37f6efea08cc34407b1d (patch) | |
tree | 9a3e5ab8b697523551c1be81f13aac9392987454 /source4 | |
parent | 1f92df90fdb0ade233af52df1fbc9e76bddb4fd0 (diff) | |
download | samba-47712ab3dd63d3da408d37f6efea08cc34407b1d.tar.gz samba-47712ab3dd63d3da408d37f6efea08cc34407b1d.tar.bz2 samba-47712ab3dd63d3da408d37f6efea08cc34407b1d.zip |
s4-libnet: fixed two compiler warnings
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_become_dc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index 2220e00597..8880abf4fc 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -2309,8 +2309,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) win_errstr(err_data->v1.status))); if (!err_data->v1.info) { - DEBUG(0, ("DsAddEntry (R3): no error info returned!\n", - err_data->v1.info)); + DEBUG(0, ("DsAddEntry (R3): no error info returned!\n")); composite_error(c, werror_to_ntstatus(status)); return; } @@ -2345,7 +2344,7 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq) /* Dump Referral errors */ ref_err = &err_data->v1.info->referral_err; DEBUGADD(0,(" Referral Error: extended_err = %s\n", - win_errstr(name_err->extended_err))); + win_errstr(ref_err->extended_err))); ref_li = &ref_err->refer; for (; ref_li; ref_li = ref_li->next) { struct drsuapi_DsaAddressListItem_V1 *addr; |