From ab13654dc9ac23872e4d1384e1c54e336f113009 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 17 Mar 2002 04:36:35 +0000 Subject: Renamed get_nt_error_msg() to nt_errstr(). (This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302) --- source3/rpc_client/cli_srvsvc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/rpc_client/cli_srvsvc.c') diff --git a/source3/rpc_client/cli_srvsvc.c b/source3/rpc_client/cli_srvsvc.c index 641fb4250d..024e711789 100644 --- a/source3/rpc_client/cli_srvsvc.c +++ b/source3/rpc_client/cli_srvsvc.c @@ -84,7 +84,7 @@ BOOL do_srv_net_srv_conn_enum(struct cli_state *cli, if (r_o.status != 0) { /* report error code */ - DEBUG(0,("SRV_R_NET_SRV_CONN_ENUM: %s\n", get_nt_error_msg(r_o.status))); + DEBUG(0,("SRV_R_NET_SRV_CONN_ENUM: %s\n", nt_errstr(r_o.status))); prs_mem_free(&rdata); return False; } @@ -164,7 +164,7 @@ BOOL do_srv_net_srv_sess_enum(struct cli_state *cli, if (r_o.status != 0) { /* report error code */ - DEBUG(0,("SRV_R_NET_SRV_SESS_ENUM: %s\n", get_nt_error_msg(r_o.status))); + DEBUG(0,("SRV_R_NET_SRV_SESS_ENUM: %s\n", nt_errstr(r_o.status))); prs_mem_free(&rdata); return False; } @@ -232,7 +232,7 @@ BOOL do_srv_net_srv_share_enum(struct cli_state *cli, if (r_o->status != 0) { /* report error code */ - DEBUG(0,("SRV_R_NET_SHARE_ENUM: %s\n", get_nt_error_msg(r_o->status))); + DEBUG(0,("SRV_R_NET_SHARE_ENUM: %s\n", nt_errstr(r_o->status))); prs_mem_free(&rdata); return False; } @@ -314,7 +314,7 @@ BOOL do_srv_net_srv_file_enum(struct cli_state *cli, if (r_o.status != 0) { /* report error code */ - DEBUG(0,("SRV_R_NET_FILE_ENUM: %s\n", get_nt_error_msg(r_o.status))); + DEBUG(0,("SRV_R_NET_FILE_ENUM: %s\n", nt_errstr(r_o.status))); prs_mem_free(&rdata); return False; } @@ -381,7 +381,7 @@ BOOL do_srv_net_srv_get_info(struct cli_state *cli, if (r_o.status != 0) { /* report error code */ - DEBUG(0,("SRV_R_NET_SRV_GET_INFO: %s\n", get_nt_error_msg(r_o.status))); + DEBUG(0,("SRV_R_NET_SRV_GET_INFO: %s\n", nt_errstr(r_o.status))); prs_mem_free(&rdata); return False; } -- cgit