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:
38eca60
)
r25258: Fix a panic message and remove superfluous return after the call to smb_panic().
author
Michael Adam
<obnox@samba.org>
Thu, 20 Sep 2007 12:42:15 +0000
(12:42 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:55 +0000
(12:30 -0500)
Michael
source/lib/charcnv.c
patch
|
blob
|
history
diff --git
a/source/lib/charcnv.c
b/source/lib/charcnv.c
index c3493dc9dcf3ce171d632f95da9268116b635651..f6b9e06ec20489e9c6d94f0a269a982b0300c8c8 100644
(file)
--- a/
source/lib/charcnv.c
+++ b/
source/lib/charcnv.c
@@
-1409,8
+1409,7
@@
size_t pull_ucs2(const void *base_ptr, char *dest, const void *src, size_t dest_
if (dest_len == (size_t)-1) {
/* No longer allow dest_len of -1. */
- smb_panic("push_utf8 - invalid dest_len of -1");
- return 0;
+ smb_panic("pull_ucs2 - invalid dest_len of -1");
}
if (ucs2_align(base_ptr, src, flags)) {