diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-27 22:35:58 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-27 22:35:58 +0000 |
commit | e4a2e8e46f2392aab2bead21c32e101f577eb2ab (patch) | |
tree | 544af3078522d6a742d93c23217f2b113a192892 /source3/rpcclient/cmd_atsvc.c | |
parent | 9fef73c27e07dbf658681e6c1027602328ed0add (diff) | |
download | samba-e4a2e8e46f2392aab2bead21c32e101f577eb2ab.tar.gz samba-e4a2e8e46f2392aab2bead21c32e101f577eb2ab.tar.bz2 samba-e4a2e8e46f2392aab2bead21c32e101f577eb2ab.zip |
removed do_ prefix from srvsvc API
(This used to be commit e4e5743a407b60c3695410eaf3df4ca3de4a870e)
Diffstat (limited to 'source3/rpcclient/cmd_atsvc.c')
-rw-r--r-- | source3/rpcclient/cmd_atsvc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source3/rpcclient/cmd_atsvc.c b/source3/rpcclient/cmd_atsvc.c index e07a89f4d9..39dc5213cf 100644 --- a/source3/rpcclient/cmd_atsvc.c +++ b/source3/rpcclient/cmd_atsvc.c @@ -137,19 +137,11 @@ schedule the job 'soon' ****************************************************************************/ static BOOL at_soon(char *dest_srv, uint32 *hours, uint32 *minutes, uint32 *seconds) { - uint16 nt_pipe_fnum; TIME_OF_DAY_INFO tod; BOOL res = True; - /* open srvsvc session. */ - res = res ? cli_nt_session_open(smb_cli, PIPE_SRVSVC, &nt_pipe_fnum) : False; - /* enumerate files on server */ - res = res ? do_srv_net_remote_tod(smb_cli, nt_pipe_fnum, - dest_srv, &tod) : False; - - /* Close the session */ - cli_nt_session_close(smb_cli, nt_pipe_fnum); + res = res ? srv_net_remote_tod(dest_srv, &tod) : False; if (res) { |