summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-31 14:22:57 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-31 14:22:57 +0000
commit1ea11211da991e1d4c16826a27803e283bb093a9 (patch)
treec3baa052f0e7ee623efbd24ab18c7d5db54c0058
parent2147e9f3d570929f45b8ef8a6487094d9919ac27 (diff)
Fixed typo.
-rw-r--r--src/htsencoding.c2
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);
}