diff options
Diffstat (limited to 'src/strset.c')
-rw-r--r-- | src/strset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strset.c b/src/strset.c index 6bf61a4b2..475266370 100644 --- a/src/strset.c +++ b/src/strset.c @@ -85,7 +85,7 @@ void strset_add(struct strset *set, const char *value) return; } - for (slot = base_slot->next; slot != NULL; slot = slot->next) + for (slot = base_slot; slot != NULL; slot = slot->next) if (strcmp(slot->value, value) == 0) /* found it - do nothing */ return; |