From af3e529c18dae94d10b617eb8377e2ab64d34982 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 8 Aug 2012 12:10:01 -0700 Subject: Fix bad return in unix_strupper. --- source3/lib/util_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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)) { -- cgit