diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/htsencoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsencoding.c b/src/htsencoding.c index abdc673..9e171fe 100644 --- a/src/htsencoding.c +++ b/src/htsencoding.c @@ -123,7 +123,7 @@ int hts_unescapeEntitiesWithCharset(const char *src, char *dest, const size_t ma if (sLen < maxOut) { // Do not copy \0. memcpy(&dest[ampStartDest], s, sLen); - ulen = sLen; + len = sLen; } free(s); } |