song_save: song_load() returns NULL instead of false
This commit is contained in:
parent
838790fc2d
commit
b40c0811f4
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user