summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-08 12:10:01 -0700
committerJeremy Allison <jra@samba.org>2012-08-09 09:47:35 -0700
commitaf3e529c18dae94d10b617eb8377e2ab64d34982 (patch)
tree6d34705a610e4ea359b726a79831ebeb562c216e /source3/lib
parentb6eb3a68088a20fba4819064699abdddfd594a4d (diff)
downloadsamba-af3e529c18dae94d10b617eb8377e2ab64d34982.tar.gz
samba-af3e529c18dae94d10b617eb8377e2ab64d34982.tar.bz2
samba-af3e529c18dae94d10b617eb8377e2ab64d34982.zip
Fix bad return in unix_strupper.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index 901d5ae9f1..f6d9f3425f 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -499,7 +499,7 @@ static bool unix_strupper(const char *src, size_t srclen, char *dest, size_t des
bool ret;
if (!push_ucs2_talloc(talloc_tos(), &buffer, src, &size)) {
- return (size_t)-1;
+ return false;
}
if (!strupper_w(buffer) && (dest == src)) {