1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00

s3: Remove two uses of cli_errstr

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jul  3 12:43:32 CEST 2011 on sn-devel-104
This commit is contained in:
Volker Lendecke
2011-07-03 11:27:53 +02:00
committed by Volker Lendecke
parent c3a6e9b7ce
commit e5ad524902

View File

@ -1533,8 +1533,10 @@ bool cli_get_pdc_name(struct cli_state *cli, const char *workgroup, char **pdc_n
TALLOC_FREE(frame);
}
} else {
DEBUG(4,("cli_get_pdc_name: machine %s failed the NetServerEnum call. "
"Error was : %s.\n", cli->desthost, cli_errstr(cli) ));
DEBUG(4, ("cli_get_pdc_name: machine %s failed the "
"NetServerEnum call. Error was : %s.\n",
cli->desthost,
win_errstr(W_ERROR(cli->rap_error))));
}
}
@ -1830,8 +1832,10 @@ bool cli_ns_check_server_type(struct cli_state *cli, char *workgroup, uint32 sty
}
}
} else {
DEBUG(4,("cli_ns_check_server_type: machine %s failed the NetServerEnum call. "
"Error was : %s.\n", cli->desthost, cli_errstr(cli) ));
DEBUG(4, ("cli_ns_check_server_type: machine %s "
"failed the NetServerEnum call. Error was : "
"%s.\n", cli->desthost,
win_errstr(W_ERROR(cli->rap_error))));
}
}