]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - playlist.c
Simplify pass_buffer_as_shm().
[paraslash.git] / playlist.c
index dd4371578179031403ed04274f0a0e7f872294c5..efd27476f2199cb1dd82a3af50ee9f26aaded8af 100644 (file)
@@ -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);
 }