2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

sizeof style

This commit is contained in:
Andreas Gustafsson
2001-11-27 01:56:32 +00:00
parent b414eb4312
commit 91cd0f93ad
70 changed files with 361 additions and 362 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: base64.c,v 1.24 2001/11/27 00:56:08 gson Exp $ */
/* $Id: base64.c,v 1.25 2001/11/27 01:55:53 gson Exp $ */
#include <config.h>
@@ -55,7 +55,7 @@ isc_base64_totext(isc_region_t *source, int wordlength,
if (wordlength < 4)
wordlength = 4;
memset(buf, 0, sizeof buf);
memset(buf, 0, sizeof(buf));
while (source->length > 2) {
buf[0] = base64[(source->base[0]>>2)&0x3f];
buf[1] = base64[((source->base[0]<<4)&0x30)|