1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Remove smb_panic() from unix_strlower(). Just rely on error code return.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug  9 23:52:53 CEST 2012 on sn-devel-104
This commit is contained in:
Jeremy Allison 2012-08-08 17:32:50 -07:00
parent b70f23c2b5
commit a5495bc6b0

View File

@ -414,8 +414,6 @@ static bool unix_strlower(const char *src, size_t srclen, char *dest, size_t des
if (!convert_string_talloc(talloc_tos(), CH_UNIX, CH_UTF16LE, src, srclen,
(void **)(void *)&buffer, &size))
{
smb_panic("failed to create UCS2 buffer");
/* NOTREACHED. Yet. */
return false;
}
if (!strlower_w(buffer) && (dest == src)) {