diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-08 06:21:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-08 06:21:33 +0000 |
commit | 788263ba2f749c5bb1546ca6c9363fd508e94280 (patch) | |
tree | f5b278f2db2295ad17ec2c0ac824ce52c809cb2c /source3/rpcclient | |
parent | 60877fdd8d19015214396de02f62b5ff999199f3 (diff) | |
download | samba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.gz samba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.bz2 samba-788263ba2f749c5bb1546ca6c9363fd508e94280.zip |
- fixed a bunch of warnings and minor errors
- got smbtorture to compile
- removed %D from some of lukes code - Luke, what is %D? it ain't
portable anyway
(This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c index 063174a1d1..4d4fb791a9 100644 --- a/source3/rpcclient/cmd_srvsvc.c +++ b/source3/rpcclient/cmd_srvsvc.c @@ -61,8 +61,8 @@ void cmd_srv_query_info(struct client_info *info) info_level = strtoul(tmp, (char**)NULL, 10); } - DEBUG(4,("cmd_srv_query_info: server:%s info level: %D\n", - dest_srv, info_level)); + DEBUG(4,("cmd_srv_query_info: server:%s info level: %d\n", + dest_srv, (int)info_level)); DEBUG(5, ("cmd_srv_query_info: smb_cli->fd:%d\n", smb_cli->fd)); @@ -119,8 +119,8 @@ void cmd_srv_enum_conn(struct client_info *info) info_level = strtoul(tmp, (char**)NULL, 10); } - DEBUG(4,("cmd_srv_enum_conn: server:%s info level: %D\n", - dest_srv, info_level)); + DEBUG(4,("cmd_srv_enum_conn: server:%s info level: %d\n", + dest_srv, (int)info_level)); DEBUG(5, ("cmd_srv_enum_conn: smb_cli->fd:%d\n", smb_cli->fd)); @@ -179,8 +179,8 @@ void cmd_srv_enum_shares(struct client_info *info) info_level = strtoul(tmp, (char**)NULL, 10); } - DEBUG(4,("cmd_srv_enum_shares: server:%s info level: %D\n", - dest_srv, info_level)); + DEBUG(4,("cmd_srv_enum_shares: server:%s info level: %d\n", + dest_srv, (int)info_level)); DEBUG(5, ("cmd_srv_enum_shares: smb_cli->fd:%d\n", smb_cli->fd)); @@ -239,8 +239,8 @@ void cmd_srv_enum_sess(struct client_info *info) info_level = strtoul(tmp, (char**)NULL, 10); } - DEBUG(4,("cmd_srv_enum_sess: server:%s info level: %D\n", - dest_srv, info_level)); + DEBUG(4,("cmd_srv_enum_sess: server:%s info level: %d\n", + dest_srv, (int)info_level)); DEBUG(5, ("cmd_srv_enum_sess: smb_cli->fd:%d\n", smb_cli->fd)); @@ -291,8 +291,8 @@ void cmd_srv_enum_files(struct client_info *info) info_level = strtoul(tmp, (char**)NULL, 10); } - DEBUG(4,("cmd_srv_enum_files: server:%s info level: %D\n", - dest_srv, info_level)); + DEBUG(4,("cmd_srv_enum_files: server:%s info level: %d\n", + dest_srv, (int)info_level)); DEBUG(5, ("cmd_srv_enum_files: smb_cli->fd:%d\n", smb_cli->fd)); |