mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
(print_sanitized_utf8_string): Actually implement
it.
This commit is contained in:
parent
aac85ca314
commit
9c6da35ea2
@ -1,3 +1,8 @@
|
|||||||
|
2004-08-18 Werner Koch <wk@g10code.de>
|
||||||
|
|
||||||
|
* stringhelp.c (print_sanitized_utf8_string): Actually implement
|
||||||
|
it.
|
||||||
|
|
||||||
2004-06-21 Werner Koch <wk@g10code.com>
|
2004-06-21 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* logging.c (log_set_file): Do not close an old logstream if it
|
* logging.c (log_set_file): Do not close an old logstream if it
|
||||||
|
@ -392,8 +392,9 @@ print_sanitized_string (FILE *fp, const char *string, int delim)
|
|||||||
size_t
|
size_t
|
||||||
print_sanitized_utf8_string (FILE *fp, const char *string, int delim)
|
print_sanitized_utf8_string (FILE *fp, const char *string, int delim)
|
||||||
{
|
{
|
||||||
/* FIXME: convert to local characterset */
|
return string? print_sanitized_utf8_buffer (fp,
|
||||||
return print_sanitized_string (fp, string, delim);
|
string, strlen (string),
|
||||||
|
delim) : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create a string from the buffer P of length N which is suitable for
|
/* Create a string from the buffer P of length N which is suitable for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user