From f8b4cd76501824d56d3cf78a8ba85291a62f0e6d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 1 Apr 2009 10:51:53 +0000 Subject: Import/export of pkcs#12 now uses the gpg-agent directly. Removed duplicated code (percent unescaping). --- tools/gpg-connect-agent.c | 2 +- tools/gpgconf-comp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c index ba97c1a10..06dafd5c9 100644 --- a/tools/gpg-connect-agent.c +++ b/tools/gpg-connect-agent.c @@ -215,7 +215,7 @@ gnu_getcwd (void) } -/* Unescale STRING and returned the malloced result. The surrounding +/* Unescape STRING and returned the malloced result. The surrounding quotes must already be removed from STRING. */ static char * unescape_string (const char *string) diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c index 92016efc4..7ba526f69 100644 --- a/tools/gpgconf-comp.c +++ b/tools/gpgconf-comp.c @@ -1141,7 +1141,7 @@ my_dgettext (const char *domain, const char *msgid) /* FIXME: we have no dgettext, thus we can't switch. */ - text = gettext (msgid); + text = (char*)gettext (msgid); return text ? text : msgid; } #elif defined(ENABLE_NLS) -- cgit v1.2.3