summaryrefslogtreecommitdiffabout
path: root/src/gdbmseq.c
Side-by-side diff
Diffstat (limited to 'src/gdbmseq.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmseq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gdbmseq.c b/src/gdbmseq.c
index e74d78d..ee7ebf3 100644
--- a/src/gdbmseq.c
+++ b/src/gdbmseq.c
@@ -101,6 +101,7 @@ gdbm_firstkey (GDBM_FILE dbf)
/* Set the default return value for not finding a first entry. */
return_val.dptr = NULL;
+ return_val.dsize = 0;
GDBM_DEBUG (GDBM_DEBUG_READ, "%s: getting first key", dbf->name);

Return to:

Send suggestions and report system problems to the System administrator.