X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mood.c;h=d9ae48bf967e61b0c4c0ca499d75f0b47eb47b96;hp=93461ee845c558ec30c0da78bf548939f1247857;hb=53077ea78f01e197e84529ae42558af5c3a68429;hpb=75805d92f62468a4beb20b590a7273f25bb64882 diff --git a/mood.c b/mood.c index 93461ee8..d9ae48bf 100644 --- 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 };