metadata: fix string compare

This commit is contained in:
Wim Taymans 2020-08-12 18:58:48 +02:00
parent add30965e3
commit 36c10046da

View file

@ -143,7 +143,7 @@ static inline int strzcmp(const char *s1, const char *s2)
return 0;
if (s1 == NULL || s2 == NULL)
return 1;
return strcmp(s1, s1);
return strcmp(s1, s2);
}
static int change_property(jack_property_t *prop, const char *value, const char *type)