mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-28 09:37:10 -04:00
remove a cut-and-paste-o
This commit is contained in:
parent
d2aebe24c4
commit
de32cbd34e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: sdb.c,v 1.30 2001/05/02 18:58:56 bwelling Exp $ */
|
||||
/* $Id: sdb.c,v 1.31 2001/05/02 19:25:19 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ dns_sdb_unregister(dns_sdbimplementation_t **sdbimp) {
|
|||
static inline unsigned int
|
||||
initial_size(const char *data) {
|
||||
unsigned int len = strlen(data);
|
||||
unsigned int size = strlen(data);
|
||||
unsigned int size;
|
||||
for (size = 64; size < (64 * 1024); size *= 2)
|
||||
if (len < size)
|
||||
return (size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue