From 55ba204bfa848c2e591a29fedc9f103103493a57 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 19 Nov 2007 16:03:50 +0000 Subject: Started to implement the audit log feature. Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes. --- jnlib/stringhelp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jnlib/stringhelp.h') diff --git a/jnlib/stringhelp.h b/jnlib/stringhelp.h index 6dee2e417..cb7051933 100644 --- a/jnlib/stringhelp.h +++ b/jnlib/stringhelp.h @@ -116,8 +116,11 @@ isascii (int c) #define STR2(v) STR(v) /* Percent-escape the string STR by replacing colons with '%3a'. If - EXTRA is not NULL, also replace all characters given in EXTRA. */ + EXTRA is not NULL, also replace all characters given in EXTRA. The + "try_" variant fails with NULL if not enough memory can be + allocated. */ char *percent_escape (const char *str, const char *extra); +char *try_percent_escape (const char *str, const char *extra); #endif /*LIBJNLIB_STRINGHELP_H*/ -- cgit v1.2.3