Commit b40c0811 authored by Max Kellermann's avatar Max Kellermann

song_save: song_load() returns NULL instead of false

parent 838790fc
......@@ -81,7 +81,7 @@ song_load(FILE *fp, struct directory *parent, const char *uri,
g_set_error(error_r, song_save_quark(), 0,
"unknown line in db: %s", line);
return false;
return NULL;
}
*colon++ = 0;
......@@ -110,7 +110,7 @@ song_load(FILE *fp, struct directory *parent, const char *uri,
g_set_error(error_r, song_save_quark(), 0,
"unknown line in db: %s", line);
return false;
return NULL;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment