mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not. Blame Graff for getting me to trim all trailing whitespace.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/*
|
||||
* Copyright (C) 1998-2000 Internet Software Consortium.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
|
||||
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
|
||||
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: base64.c,v 1.17 2000/07/27 09:50:40 tale Exp $ */
|
||||
/* $Id: base64.c,v 1.18 2000/08/01 01:29:14 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -106,7 +106,7 @@ isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
|
||||
char *s;
|
||||
int n;
|
||||
|
||||
|
||||
|
||||
while (!seen_end && (length != 0)) {
|
||||
if (length > 0)
|
||||
RETERR(gettoken(lexer, &token, isc_tokentype_string,
|
||||
@@ -182,7 +182,7 @@ isc_base64_decodestring(isc_mem_t *mctx, char *cstr, isc_buffer_t *target) {
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
isopen = ISC_TRUE;
|
||||
result = isc_base64_tobuffer(lex, target, -1);
|
||||
}
|
||||
}
|
||||
|
||||
if (isopen)
|
||||
(void)isc_lex_close(lex);
|
||||
|
Reference in New Issue
Block a user