X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=mood.c;h=639818c5b9f5626d05ddbe7399e49c9b1427600f;hb=59a4f545566f77a22a8c27ece5155ecd154d4145;hp=fb988b2fa22e02c75dffa73a209fe393c115b0a9;hpb=e469622d99718d49158d5da649eb02180269b4c8;p=paraslash.git diff --git a/mood.c b/mood.c index fb988b2f..639818c5 100644 --- a/mood.c +++ b/mood.c @@ -430,19 +430,18 @@ out: /** * Check all moods for syntax errors. * - * \param fd The afs socket. - * \param query Unused. + * \param aca Only ->pbout is used for diagnostics. * * \return Negative on fatal errors. Inconsistent mood definitions are not * considered an error. */ -int mood_check_callback(int fd, __a_unused const struct osl_object *query) +int mood_check_callback(struct afs_callback_arg *aca) { int ret; struct para_buffer pb = { .max_size = shm_get_shmmax(), .private_data = &(struct afs_max_size_handler_data) { - .fd = fd, + .fd = aca->fd, .band = SBD_OUTPUT }, .max_size_handler = afs_max_size_handler