aboutsummaryrefslogtreecommitdiff
path: root/lib/isc/base32.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/isc/base32.c')
-rw-r--r--lib/isc/base32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/isc/base32.c b/lib/isc/base32.c
index 3000a84f2da1..d25e3c4716bb 100644
--- a/lib/isc/base32.c
+++ b/lib/isc/base32.c
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: base32.c,v 1.3.116.2 2009/01/18 23:47:41 tbox Exp $ */
+/* $Id: base32.c,v 1.6 2009/10/21 01:22:29 each Exp $ */
/*! \file */
@@ -112,6 +112,8 @@ base32_totext(isc_region_t *source, int wordlength, const char *wordbreak,
RETERR(str_totext(wordbreak, target));
}
}
+ if (source->length > 0)
+ isc_region_consume(source, source->length);
return (ISC_R_SUCCESS);
}