diff options
author | Werner Koch <[email protected]> | 2016-08-10 17:04:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-10 17:53:53 +0000 |
commit | f2ea7e539c9a22081e3159dcbca84f57f30724ca (patch) | |
tree | 4d7abfc34b04735580b231f53fd1db48ce6e531b /common/stringhelp.h | |
parent | tests: Fix distcheck. (diff) | |
download | gnupg-f2ea7e539c9a22081e3159dcbca84f57f30724ca.tar.gz gnupg-f2ea7e539c9a22081e3159dcbca84f57f30724ca.zip |
common: New function try_make_printable_string.
* common/stringhelp.c (sanitize_buffer): Remove. Move code to ...
* common/miscellaneous.c (try_make_printable_string): new.
(make_printable_string): Call try_make_printable_string.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | common/stringhelp.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h index b6f4167f7..adf2f2060 100644 --- a/common/stringhelp.h +++ b/common/stringhelp.h @@ -61,9 +61,6 @@ int compare_filenames( const char *a, const char *b ); int hextobyte (const char *s); -char *sanitize_buffer (const void *p, size_t n, int delim); - - size_t utf8_charcount (const char *s, int len); |