comparison dbutil.c @ 358:e81d3bc1dc78

Forgot variable declaration.
author Matt Johnston <matt@ucc.asn.au>
date Mon, 11 Sep 2006 11:22:52 +0000
parents 9e2ad1023978
children b895f91c2ee6
comparison
equal deleted inserted replaced
357:9e2ad1023978 358:e81d3bc1dc78
528 int buf_readfile(buffer* buf, const char* filename) { 528 int buf_readfile(buffer* buf, const char* filename) {
529 529
530 int fd = -1; 530 int fd = -1;
531 int len; 531 int len;
532 int maxlen; 532 int maxlen;
533 ret = DROPBEAR_FAILURE; 533 int ret = DROPBEAR_FAILURE;
534 534
535 fd = open(filename, O_RDONLY); 535 fd = open(filename, O_RDONLY);
536 536
537 if (fd < 0) { 537 if (fd < 0) {
538 goto out; 538 goto out;