the paraslash-0.4.9 release tarball
[paraslash.git] / mood.c
diff --git a/mood.c b/mood.c
index 93461ee845c558ec30c0da78bf548939f1247857..d9ae48bf967e61b0c4c0ca499d75f0b47eb47b96 100644 (file)
--- a/mood.c
+++ b/mood.c
@@ -422,7 +422,7 @@ out:
 void mood_check_callback(int fd, __a_unused const struct osl_object *query)
 {
        struct para_buffer pb = {
-               .max_size = SHMMAX,
+               .max_size = shm_get_shmmax(),
                .private_data = &fd,
                .max_size_handler = pass_buffer_as_shm
        };