summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2020-04-14 16:38:03 -0700
committerChristof Schmitt <cs@samba.org>2020-04-16 17:27:40 +0000
commitab629af7b1571e6bb819119141a6e6e5d9453d59 (patch)
tree6fe52693563e190b44a70764530608be6520f343 /source3/client
parent34f8ab774d1484b0e60dbdec8ad2a1607ad92122 (diff)
downloadsamba-ab629af7b1571e6bb819119141a6e6e5d9453d59.tar.gz
smbclient: Remove one level of indentation for the utimes command
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
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);