diff options
author | Jeremy Allison <jra@samba.org> | 2009-05-28 13:32:00 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-05-28 13:32:00 -0700 |
commit | 656e86d5fa876131fc8e373f0c2100f4bef1cc26 (patch) | |
tree | b8e8afc42f03e86430f6ad05371b0438379c288e /source3/client | |
parent | fbca26923915a70031f561b198cfe2cc0d9c3aa6 (diff) | |
download | samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.gz samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.bz2 samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.zip |
Make cli_posix_stat() async.
Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 0e874ec171..7e98dea91c 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -3037,7 +3037,7 @@ static int cmd_getfacl(void) return 1; } - if (!cli_unix_stat(targetcli, targetname, &sbuf)) { + if (!NT_STATUS_IS_OK(cli_posix_stat(targetcli, targetname, &sbuf))) { d_printf("%s getfacl doing a stat on file %s\n", cli_errstr(targetcli), src); return 1; @@ -3188,7 +3188,7 @@ static int cmd_stat(void) return 1; } - if (!cli_unix_stat(targetcli, targetname, &sbuf)) { + if (!NT_STATUS_IS_OK(cli_posix_stat(targetcli, targetname, &sbuf))) { d_printf("%s stat file %s\n", cli_errstr(targetcli), src); return 1; |