git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6eb3a6
)
Fix bad return in unix_strupper.
author
Jeremy Allison
<jra@samba.org>
Wed, 8 Aug 2012 19:10:01 +0000
(12:10 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 9 Aug 2012 16:47:35 +0000
(09:47 -0700)
source3/lib/util_str.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_str.c
b/source3/lib/util_str.c
index 901d5ae9f193a1d9de8fb9142ebe3ea5cb7ffd90..f6d9f3425f74cc9dfb99d989c4b17ba37d11eed7 100644
(file)
--- 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)) {