openbsd-ports/net/gftp/patches/patch-lib_charset-conv_c
ajacoutot 8e927ce3dd - major bugfix release to gftp-2.0.19
Improvements to the networking code, fixes for several segfaults, i18n
fixes, and 38 updated or new translations.
- IPv6 is still disabled (thanks to sthen@ for confirming it still
doesn't work properly...) ; any taker to fix it, be my guest
2008-12-01 16:09:01 +00:00

40 lines
1.2 KiB
Plaintext

$OpenBSD: patch-lib_charset-conv_c,v 1.1 2008/12/01 16:09:01 ajacoutot Exp $
--- lib/charset-conv.c.orig Mon Dec 1 14:44:42 2008
+++ lib/charset-conv.c Mon Dec 1 14:48:34 2008
@@ -230,7 +230,7 @@ gftp_filename_from_utf8 (gftp_request * request, const
#else
char *
-gftp_string_to_utf8 (gftp_request * request, const char *str, size_t dest_len)
+gftp_string_to_utf8 (gftp_request * request, const char *str, size_t *dest_len)
{
return (NULL);
}
@@ -238,22 +238,22 @@ gftp_string_to_utf8 (gftp_request * request, const cha
char *
gftp_string_from_utf8 (gftp_request * request, int force_local, const char *str,
- size_t dest_len)
+ size_t *dest_len)
{
return (NULL);
}
char *
-gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t dest_len)
+gftp_filename_to_utf8 (gftp_request * request, const char *str, size_t *dest_len)
{
return (NULL);
}
char *
-gftp_filename_from_utf8 (gftp_request * request, int force_local,
- const char *str, size_t dest_len)
+gftp_filename_from_utf8 (gftp_request * request, const char *str,
+ size_t *dest_len)
{
return (NULL);
}