aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
committerWerner Koch <[email protected]>2012-06-05 17:29:22 +0000
commit096e7457ec636bcfcf128678660eb2f2e19f113a (patch)
treeb54df55112f195895d6d952ce3cfb3f4c98e7683 /dirmngr/ldap.c
parentPrint the hash algorithm in colon mode key listing. (diff)
downloadgnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.gz
gnupg-096e7457ec636bcfcf128678660eb2f2e19f113a.zip
Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
Diffstat (limited to '')
-rw-r--r--dirmngr/ldap.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/dirmngr/ldap.c b/dirmngr/ldap.c
index 13b3c8883..478fdfda2 100644
--- a/dirmngr/ldap.c
+++ b/dirmngr/ldap.c
@@ -91,7 +91,7 @@ add_server_to_servers (const char *host, int port)
return;
}
- log_info (_("adding `%s:%d' to the ldap server list\n"), host, port);
+ log_info (_("adding '%s:%d' to the ldap server list\n"), host, port);
server = xtrycalloc (1, sizeof *s);
if (!server)
log_error (_("malloc failed: %s\n"), strerror (errno));
@@ -599,7 +599,7 @@ start_cert_fetch_ldap (ctrl_t ctrl, cert_fetch_context_t *context,
sl = parse_one_pattern (patterns->d);
if (!sl)
{
- log_error (_("start_cert_fetch: invalid pattern `%s'\n"),
+ log_error (_("start_cert_fetch: invalid pattern '%s'\n"),
patterns->d);
/* fixme: cleanup argv. */
return gpg_error (GPG_ERR_INV_USER_ID);
@@ -764,28 +764,28 @@ fetch_next_cert_ldap (cert_fetch_context_t context,
if (!ascii_strcasecmp (p, USERCERTIFICATE))
{
if (DBG_LOOKUP)
- log_debug ("fetch_next_cert_ldap: got attribute `%s'\n",
+ log_debug ("fetch_next_cert_ldap: got attribute '%s'\n",
USERCERTIFICATE);
okay = 1;
}
else if (!ascii_strcasecmp (p, CACERTIFICATE))
{
if (DBG_LOOKUP)
- log_debug ("fetch_next_cert_ldap: got attribute `%s'\n",
+ log_debug ("fetch_next_cert_ldap: got attribute '%s'\n",
CACERTIFICATE);
okay = 1;
}
else if (!ascii_strcasecmp (p, X509CACERT))
{
if (DBG_LOOKUP)
- log_debug ("fetch_next_cert_ldap: got attribute `%s'\n",
+ log_debug ("fetch_next_cert_ldap: got attribute '%s'\n",
CACERTIFICATE);
okay = 1;
}
/* else if (!ascii_strcasecmp (p, USERSMIMECERTIFICATE)) */
/* { */
/* if (DBG_LOOKUP) */
-/* log_debug ("fetch_next_cert_ldap: got attribute `%s'\n", */
+/* log_debug ("fetch_next_cert_ldap: got attribute '%s'\n", */
/* USERSMIMECERTIFICATE); */
/* okay = 1; */
/* is_cms = 1; */
@@ -793,7 +793,7 @@ fetch_next_cert_ldap (cert_fetch_context_t context,
else
{
if (DBG_LOOKUP)
- log_debug ("fetch_next_cert_ldap: got attribute `%s'"
+ log_debug ("fetch_next_cert_ldap: got attribute '%s'"
" - ignored\n", p);
okay = 0;
}