summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-08-08 17:32:50 -0700
committerJeremy Allison <jra@samba.org>2012-08-09 23:52:53 +0200
commita5495bc6b073d29041d9a8e229d37693d6a0c513 (patch)
treebfd372b75e562de916011d8df6cd083a57202a63 /source3/lib/util_str.c
parentb70f23c2b581c5d455362ab37f4846de9a910055 (diff)
downloadsamba-a5495bc6b073d29041d9a8e229d37693d6a0c513.tar.gz
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
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index c302851335c..aa77d75ad33 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -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)) {