diff options
Diffstat (limited to '')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index b7f59d29f..4d36169c7 100644 --- a/src/database.c +++ b/src/database.c @@ -284,7 +284,7 @@ db_load(GError **error) } while ((line = read_text_line(fp, buffer)) != NULL && - !g_str_has_prefix(line, DIRECTORY_INFO_END)) { + strcmp(line, DIRECTORY_INFO_END) != 0) { if (g_str_has_prefix(line, DIRECTORY_MPD_VERSION)) { if (found_version) { fclose(fp); |