]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mood.c
Simplify pass_buffer_as_shm().
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index c892ff5c15fcfb8abfe8a11fe0a85911f073c740..6046137d31b63bc8406182b01ef650e2eafa5f0f 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -437,7 +437,7 @@ void mood_check_callback(int fd, __a_unused const struct osl_object *query)
        osl_rbtree_loop(moods_table, BLOBCOL_ID, &pb,
                check_mood);
        if (pb.offset)
-               pass_buffer_as_shm(pb.buf, pb.offset, &fd);
+               pass_buffer_as_shm(fd, pb.buf, pb.offset);
        free(pb.buf);
 }