X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=playlist.c;h=efd27476f2199cb1dd82a3af50ee9f26aaded8af;hp=dd4371578179031403ed04274f0a0e7f872294c5;hb=d5a9e8c8eefe170b6fb62be563c079c818bd3bf8;hpb=3667d75edd30f45f6b909bcf5203689c866a77b5 diff --git a/playlist.c b/playlist.c index dd437157..efd27476 100644 --- a/playlist.c +++ b/playlist.c @@ -144,7 +144,7 @@ void playlist_check_callback(int fd, __a_unused const struct osl_object *query) osl_rbtree_loop(playlists_table, BLOBCOL_ID, &pb, check_playlist); if (pb.offset) - pass_buffer_as_shm(pb.buf, pb.offset, &fd); + pass_buffer_as_shm(fd, pb.buf, pb.offset); free(pb.buf); }