summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-02-09 09:09:57 +0100
committerBjörn Jacke <bj@sernet.de>2010-02-09 10:11:29 +0100
commitd1c7d7d21aae536f80bba0d5fa5136c598392394 (patch)
tree2cf2720831da76b5f6073e0c50f19e18e00afc9d
parent580f955664a0bafc2258bd94d7e4e6ca049cd68a (diff)
downloadsamba-d1c7d7d21aae536f80bba0d5fa5136c598392394.tar.gz
samba-d1c7d7d21aae536f80bba0d5fa5136c598392394.tar.bz2
samba-d1c7d7d21aae536f80bba0d5fa5136c598392394.zip
vfs_catia: fix return type warnings
-rw-r--r--source3/modules/vfs_catia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_catia.c b/source3/modules/vfs_catia.c
index f1d0cadee7..177458bce2 100644
--- a/source3/modules/vfs_catia.c
+++ b/source3/modules/vfs_catia.c
@@ -235,7 +235,7 @@ static NTSTATUS catia_string_replace_allocate(connection_struct *conn,
}
if ((push_ucs2_talloc(ctx, &tmpbuf, name_in,
- &converted_size)) == -1) {
+ &converted_size)) == false) {
return map_nt_error_from_unix(errno);
}
ptr = tmpbuf;
@@ -252,7 +252,7 @@ static NTSTATUS catia_string_replace_allocate(connection_struct *conn,
}
if ((pull_ucs2_talloc(ctx, mapped_name, tmpbuf,
- &converted_size)) == -1) {
+ &converted_size)) == false) {
TALLOC_FREE(tmpbuf);
return map_nt_error_from_unix(errno);
}