mirror of
https://github.com/samba-team/samba.git
synced 2025-03-04 16:58:42 +03:00
s3-clitar: Improve readabilty of tar_set_newer_than().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
This commit is contained in:
parent
75dbb27115
commit
f955bc4b5d
@ -1211,8 +1211,10 @@ static int tar_set_newer_than(struct tar *t, const char *filename)
|
||||
{
|
||||
extern time_t newer_than;
|
||||
SMB_STRUCT_STAT stbuf;
|
||||
int rc;
|
||||
|
||||
if (sys_stat(filename, &stbuf, false) != 0) {
|
||||
rc = sys_stat(filename, &stbuf, false);
|
||||
if (rc != 0) {
|
||||
DBG(0, ("Error setting newer-than time\n"));
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user