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:
parent
c97d067f27
commit
1a17acd8e9
@ -282,7 +282,7 @@ _gpgme_encode_percent_string (const char *src, char **destp, size_t len)
|
|||||||
/* Set up the destination buffer. */
|
/* Set up the destination buffer. */
|
||||||
if (len)
|
if (len)
|
||||||
{
|
{
|
||||||
if (len < destlen);
|
if (len < destlen)
|
||||||
return gpg_error (GPG_ERR_INTERNAL);
|
return gpg_error (GPG_ERR_INTERNAL);
|
||||||
|
|
||||||
dest = *destp;
|
dest = *destp;
|
||||||
|
Loading…
Reference in New Issue
Block a user