git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f8ab7
)
smbclient: Remove one level of indentation for the utimes command
author
Christof Schmitt
<cs@samba.org>
Tue, 14 Apr 2020 23:38:03 +0000
(16:38 -0700)
committer
Christof Schmitt
<cs@samba.org>
Thu, 16 Apr 2020 17:27:40 +0000
(17:27 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index f2cb3c8a3374679ce2d424ec520f1c1e37ac44e5..b19d47526919b2414c6bf984684aedbe237cc636 100644
(file)
--- 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);