diff options
author | Tim Potter <tpot@samba.org> | 1999-08-18 23:51:02 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 1999-08-18 23:51:02 +0000 |
commit | 48324fa61b33211bf589f65883373407f81d6f41 (patch) | |
tree | 43a75cedb09c0410e99d9d07b338ba2a299fd3ae | |
parent | b3f59299a089b5860653fea1bee82253ec18cc87 (diff) | |
download | samba-48324fa61b33211bf589f65883373407f81d6f41.tar.gz samba-48324fa61b33211bf589f65883373407f81d6f41.tar.bz2 samba-48324fa61b33211bf589f65883373407f81d6f41.zip |
Don't print out a message in svcenum command for the ERRmoredata
error.
(This used to be commit 92ebd8f12ce4997e77eee22c3bb0c599daa44500)
-rw-r--r-- | source3/rpc_client/cli_svcctl.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_svcctl.c b/source3/rpc_client/cli_svcctl.c index 5e8a3952a5..ed3ddaf9d3 100644 --- a/source3/rpc_client/cli_svcctl.c +++ b/source3/rpc_client/cli_svcctl.c @@ -200,10 +200,13 @@ BOOL svc_enum_svcs(struct cli_state *cli, uint16 fnum, if (p && r_o.dos_status != 0) { fstring errmsg; - smb_safe_err_msg(ERRDOS, r_o.dos_status, - errmsg, sizeof(errmsg)); - /* report error code */ - DEBUG(0,("SVC_ENUM_SVCS_STATUS: %s\n", errmsg)); + + if (r_o.dos_status != ERRmoredata) { + smb_safe_err_msg(ERRDOS, r_o.dos_status, + errmsg, sizeof(errmsg)); + /* report error code */ + DEBUG(0,("SVC_ENUM_SVCS_STATUS: %s\n", errmsg)); + } p = r_o.dos_status == ERRmoredata; } |