diff options
author | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2010-03-02 19:49:55 +0000 |
commit | 841024d54f1f0a07feccf84d8938b00bc1f362b5 (patch) | |
tree | c470abc978aa6ca4f6b0033d7e09c8b7b09cd629 /lib/isc/base32.c | |
parent | 51917575cfd35d6a201b010726ea7404a0f9bb7e (diff) |
Diffstat (limited to 'lib/isc/base32.c')
-rw-r--r-- | lib/isc/base32.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/isc/base32.c b/lib/isc/base32.c index 3000a84f2da14..d324da9760ae3 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.3.116.3 2009/10/21 01:22:47 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); } |