Skip to content

Commit

Permalink
fixed possible segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Jan 20, 2009
1 parent 6d9a3f1 commit 9d97c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static gboolean metadata_check_key(const gchar *keys[], const gchar *key)
{
const gchar **k = keys;

while (k)
while (*k)
{
if (strcmp(key, *k) == 0) return TRUE;
k++;
Expand Down

0 comments on commit 9d97c97

Please sign in to comment.