From 7726985b00f687af210329abbcbd8ecbb74bc601 Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Mon, 1 Nov 1999 12:11:05 +0000 Subject: 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) --- source3/rpcclient/cmd_atsvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit