git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b70f23c
)
Remove smb_panic() from unix_strlower(). Just rely on error code return.
author
Jeremy Allison
<jra@samba.org>
Thu, 9 Aug 2012 00:32:50 +0000
(17:32 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 9 Aug 2012 21:52:53 +0000
(23:52 +0200)
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Aug 9 23:52:53 CEST 2012 on sn-devel-104
source3/lib/util_str.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_str.c
b/source3/lib/util_str.c
index c302851335c80e39e52b6f2b2bbf20b1406340be..aa77d75ad334c47e94fe86adba9dffb5744049ba 100644
(file)
--- 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)) {