Make _gpgme_encode_percent_string work for memory buffers.

* src/conversion.c (D_gpgme_encode_percent_string): Remove stray
semicolon.  Reported by Xi Wang.
--
Obviously this function is not used with a supplied LEN argument != 0.
This commit is contained in:
Werner Koch 2012-11-15 11:14:58 +01:00
parent c97d067f27
commit 1a17acd8e9

View File

@ -282,7 +282,7 @@ _gpgme_encode_percent_string (const char *src, char **destp, size_t len)
/* Set up the destination buffer. */
if (len)
{
if (len < destlen);
if (len < destlen)
return gpg_error (GPG_ERR_INTERNAL);
dest = *destp;