summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hashtab.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c
index dc4ef8888b..8c25c818b2 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -249,7 +249,7 @@ hash_add_item(
hash_T hash)
{
// If resizing failed before and it fails again we can't add an item.
- if ((ht->ht_flags & HTFLAGS_ERROR) && hash_may_resize(ht, 0) == FAIL)
+ if (ht->ht_flags & HTFLAGS_ERROR)
return FAIL;
++ht->ht_used;
diff --git a/src/version.c b/src/version.c
index fdaffe395f..eb362a3de1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1099,
+/**/
1098,
/**/
1097,