diff options
Diffstat (limited to 'src/bundle.c')
-rw-r--r-- | src/bundle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bundle.c b/src/bundle.c index 730088b..e12a72d 100644 --- a/src/bundle.c +++ b/src/bundle.c @@ -63,8 +63,10 @@ _bundle_find_kv(bundle *b, const char *key) kv = b->kv_head; while (kv != NULL) { - if (0 == strcmp(key, kv->key)) + if (0 == strcmp(key, kv->key)) { + set_last_result(BUNDLE_ERROR_NONE); return kv; + } kv = kv->next; } /* Not found */ |