remove a cut-and-paste-o
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user