X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;h=852ffd7a9724471798a6f6a376a2826c0f6961f5;hp=a9925cd3079a341135d398a664e167691d1406c6;hb=395aeb9da9c9cc2febe91b5a906c72e59e217594;hpb=00e4d4da1b2c00da139b09d3ed4ab9ad9fba2691 diff --git a/playlist.c b/playlist.c index a9925cd3..852ffd7a 100644 --- a/playlist.c +++ b/playlist.c @@ -4,6 +4,9 @@ * Licensed under the GPL v2. For licencing details see COPYING. */ +#include +#include + #include "para.h" #include "error.h" #include "string.h" @@ -174,7 +177,7 @@ int playlist_open(char *name) obj.data = name; obj.size = strlen(obj.data); - ret = osl_get_row(playlists_table, BLOBCOL_NAME, &obj, &row); + ret = osl(osl_get_row(playlists_table, BLOBCOL_NAME, &obj, &row)); if (ret < 0) { PARA_NOTICE_LOG("failed to load playlist %s\n", name); return ret;