From: Kevin McCarthy Date: Thu, 18 Jul 2019 20:44:19 +0000 (-0700) Subject: Fix a reference to HeaderCachePageSize. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba7116d4eb57ce77d4c75ee382b9b0d082cc010f;p=mutt Fix a reference to HeaderCachePageSize. Commit 4c728278 converted the config far to type DT_LNUM, but embarrassingly I missed a usage. --- diff --git a/hcache.c b/hcache.c index 466bb4d1..07f3fbd3 100644 --- a/hcache.c +++ b/hcache.c @@ -1259,7 +1259,8 @@ hcache_open_db4 (struct header_cache* h, const char* path) u_int32_t createflags = DB_CREATE; int pagesize; - if (mutt_atoi (HeaderCachePageSize, &pagesize) < 0 || pagesize <= 0) + pagesize = HeaderCachePageSize; + if (pagesize <= 0) pagesize = 16384; snprintf (h->lockfile, _POSIX_PATH_MAX, "%s-lock-hack", path);