summaryrefslogtreecommitdiff
path: root/source3/lib/charcnv.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-20 16:44:14 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-20 16:44:14 +0000
commit0b72dd8325bc5c78de56039942acc175d28042a7 (patch)
tree7a3fb31a07cad1d29684aa54132f2ff37b240b24 /source3/lib/charcnv.c
parentefadbacb9abde371dfb3f19c9f9f69539ec1dc34 (diff)
downloadsamba-0b72dd8325bc5c78de56039942acc175d28042a7.tar.gz
samba-0b72dd8325bc5c78de56039942acc175d28042a7.tar.bz2
samba-0b72dd8325bc5c78de56039942acc175d28042a7.zip
Patch from Samuel Thibault to convert messages from dos to unix charset
when sending(and vice versa when receiving). (This used to be commit 5310447ec6e0df1c000e3ee14572f5b7fee31f28)
Diffstat (limited to 'source3/lib/charcnv.c')
-rw-r--r--source3/lib/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c
index fa646573d8..42cba33483 100644
--- a/source3/lib/charcnv.c
+++ b/source3/lib/charcnv.c
@@ -186,7 +186,7 @@ size_t convert_string(charset_t from, charset_t to,
* @returns Size in bytes of the converted string; or -1 in case of error.
**/
-static size_t convert_string_allocate(charset_t from, charset_t to,
+size_t convert_string_allocate(charset_t from, charset_t to,
void const *src, size_t srclen, void **dest)
{
size_t i_len, o_len, destlen;