diff options
Diffstat (limited to 'source3/libsmb/libsmb_server.c')
-rw-r--r-- | source3/libsmb/libsmb_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index a572acde96..71cb67c61b 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -330,7 +330,7 @@ SMBC_server_internal(TALLOC_CTX *ctx, if (is_ipc) { DEBUG(4, ("IPC$ so ignore case sensitivity\n")); - } else if (!cli_get_fs_attr_info(c, &fs_attrs)) { + } else if (!NT_STATUS_IS_OK(cli_get_fs_attr_info(c, &fs_attrs))) { DEBUG(4, ("Could not retrieve " "case sensitivity flag: %s.\n", cli_errstr(c))); @@ -563,7 +563,7 @@ again: /* Determine if this share supports case sensitivity */ if (is_ipc) { DEBUG(4, ("IPC$ so ignore case sensitivity\n")); - } else if (!cli_get_fs_attr_info(c, &fs_attrs)) { + } else if (!NT_STATUS_IS_OK(cli_get_fs_attr_info(c, &fs_attrs))) { DEBUG(4, ("Could not retrieve case sensitivity flag: %s.\n", cli_errstr(c))); |