mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
Fix bad return in unix_strupper.
This commit is contained in:
parent
b6eb3a6808
commit
af3e529c18
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user