r25238: Make the error returns from the string functions
authorJeremy Allison <jra@samba.org>
Wed, 19 Sep 2007 17:52:06 +0000 (17:52 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:53 +0000 (12:30 -0500)
commit934b92f5d0e4950f7b4c7531eecf3df59a4d0ed3
treee12058b067c04da324daa226a7f77c675caa5694
parent0805a4bc715f055fd68c5e27bd46eadfb101e1b9
r25238: Make the error returns from the string functions
always consistent. Return -1 on error, and ensure
we check for this. In cases where the dest is already
specified and we've been asked to terminate with a
null, ensure we always do so even on error.
Jeremy.
(This used to be commit abedd967869ade9a43c3a8e1b889c60d4aca81cf)
source3/lib/charcnv.c
source3/nmbd/nmbd_processlogon.c