diff options
-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); |