Skip to content

Commit

Permalink
lib-fs: Fixed fs_metadata_find() to actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen authored and cmouse committed Oct 18, 2016
1 parent da00d76 commit 335e246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-fs/fs-api.c
Expand Up @@ -328,7 +328,7 @@ const char *fs_metadata_find(const ARRAY_TYPE(fs_metadata) *metadata,
{
const struct fs_metadata *md;

if (array_is_created(metadata))
if (!array_is_created(metadata))
return NULL;

array_foreach(metadata, md) {
Expand Down

0 comments on commit 335e246

Please sign in to comment.