diff options
author | Jeremy Allison <jra@samba.org> | 2012-08-08 17:32:50 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-08-09 23:52:53 +0200 |
commit | a5495bc6b073d29041d9a8e229d37693d6a0c513 (patch) | |
tree | bfd372b75e562de916011d8df6cd083a57202a63 /source3/lib | |
parent | b70f23c2b581c5d455362ab37f4846de9a910055 (diff) | |
download | samba-a5495bc6b073d29041d9a8e229d37693d6a0c513.tar.gz samba-a5495bc6b073d29041d9a8e229d37693d6a0c513.tar.bz2 samba-a5495bc6b073d29041d9a8e229d37693d6a0c513.zip |
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')
-rw-r--r-- | source3/lib/util_str.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index c302851335..aa77d75ad3 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)) { |