commit 27a06bcde36e235c2d0340bd495ae3504ede3480 parent c9682aa045b8f0125d72d0e3842195bb2a956676 Author: sin <sin@2f30.org> Date: Sun, 28 Dec 2014 15:51:00 +0000 Just return the old entry if it already exists Diffstat:
M | library.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/library.c b/library.c @@ -21,7 +21,7 @@ addlibrary(const char *path) s = findsong(path); if (s) - return NULL; + return s; d = matchdecoder(path); if (!d)