1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4-libnet: fixed two compiler warnings

This commit is contained in:
Andrew Tridgell 2010-04-22 16:43:21 +10:00
parent 1f92df90fd
commit 47712ab3dd

View File

@ -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;