diff options
author | Matthew Chapman <matty@samba.org> | 1999-11-01 12:11:05 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-11-01 12:11:05 +0000 |
commit | 7726985b00f687af210329abbcbd8ecbb74bc601 (patch) | |
tree | 31af1e0dc8501756c89cc89e8a4d0c431ad88597 /source3/rpcclient | |
parent | e7a9b398c79cb77678de18f3fc448131e1d6eb25 (diff) | |
download | samba-7726985b00f687af210329abbcbd8ecbb74bc601.tar.gz samba-7726985b00f687af210329abbcbd8ecbb74bc601.tar.bz2 samba-7726985b00f687af210329abbcbd8ecbb74bc601.zip |
Fixed typo which was preventing the omission of seconds in the 'at' command.
I *love* this scheduler stuff, it's so useful!
(This used to be commit 5cb124806dbaa08b659fd8bdf67a9b06436d3d20)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_atsvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_atsvc.c b/source3/rpcclient/cmd_atsvc.c index d0f2e716a0..64f045a2a0 100644 --- a/source3/rpcclient/cmd_atsvc.c +++ b/source3/rpcclient/cmd_atsvc.c @@ -206,7 +206,7 @@ void cmd_at(struct client_info *info) return; } } - else if (sscanf(temp, "%d:%d:%d", &hours, &minutes, &seconds) > 2) + else if (sscanf(temp, "%d:%d:%d", &hours, &minutes, &seconds) >= 2) { p = strchr(temp, 0); |