aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/gpgkeys_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--keyserver/gpgkeys_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyserver/gpgkeys_ldap.c b/keyserver/gpgkeys_ldap.c
index 357c874ea..b56cca1cf 100644
--- a/keyserver/gpgkeys_ldap.c
+++ b/keyserver/gpgkeys_ldap.c
@@ -1264,7 +1264,7 @@ printquoted(FILE *stream,char *string,char delim)
while(*string)
{
if(*string==delim || *string=='%')
- fprintf(stream,"%%%02x",(unsigned char)*string);
+ fprintf(stream,"%%%02x",*string);
else
fputc(*string,stream);