From ab629af7b1571e6bb819119141a6e6e5d9453d59 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Tue, 14 Apr 2020 16:38:03 -0700 Subject: smbclient: Remove one level of indentation for the utimes command Signed-off-by: Christof Schmitt Reviewed-by: Volker Lendecke --- source3/client/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/client') 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); -- cgit v1.2.1