diff options
Diffstat (limited to 'src/gdbmsetopt.c')
-rw-r--r-- | src/gdbmsetopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbmsetopt.c b/src/gdbmsetopt.c index f9face0..865f5a5 100644 --- a/src/gdbmsetopt.c +++ b/src/gdbmsetopt.c | |||
@@ -54,13 +54,13 @@ setopt_gdbm_setcachesize (GDBM_FILE dbf, void *optval, int optlen) | |||
54 | { | 54 | { |
55 | size_t sz; | 55 | size_t sz; |
56 | 56 | ||
57 | /* Optval will point to the new size of the cache. */ | ||
58 | if (dbf->bucket_cache != NULL) | 57 | if (dbf->bucket_cache != NULL) |
59 | { | 58 | { |
60 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ALREADY_SET, FALSE); | 59 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ALREADY_SET, FALSE); |
61 | return -1; | 60 | return -1; |
62 | } | 61 | } |
63 | 62 | ||
63 | /* Optval will point to the new size of the cache. */ | ||
64 | if (get_size (optval, optlen, &sz)) | 64 | if (get_size (optval, optlen, &sz)) |
65 | { | 65 | { |
66 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ILLEGAL, FALSE); | 66 | GDBM_SET_ERRNO (dbf, GDBM_OPT_ILLEGAL, FALSE); |