1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r25258: Fix a panic message and remove superfluous return after the call to smb_panic().

Michael
This commit is contained in:
Michael Adam 2007-09-20 12:42:15 +00:00 committed by Gerald (Jerry) Carter
parent 38eca60913
commit 8b5c34b7d1

View File

@ -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)) {