song_save: song_load() returns NULL instead of false

This commit is contained in:
Max Kellermann 2010-07-25 12:23:46 +02:00
parent 838790fc2d
commit b40c0811f4

View File

@ -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;
}
}