summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f2cb3c8a337..b19d4752691 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -5233,10 +5233,10 @@ static int cmd_utimes(void)
times[time_count] = make_omit_timespec();
time_count++;
continue;
- } else {
- ret = strptime(s, "%y:%m:%d-%H:%M:%S", &tm);
}
+ ret = strptime(s, "%y:%m:%d-%H:%M:%S", &tm);
+
/* We could not match all the chars, so print error */
if (ret == NULL || *ret != 0) {
d_printf("Invalid date format: %s\n", s);