Change callback signature in imap client.
The purpose is to avoid using variadic calls in order to let the compiler do the necessary argument checking. * include/mailutils/imap.h (mu_imap_callback_t): Take a pair of size_t and void * arguments instead of the single va_list. (mu_imap_callback): Likewise. * libproto/imap/callback.c: Likewise. * libproto/imap/resproc.c: Update callback calls. * mu/imap.c: Update callback declarations.
Showing
4 changed files
with
15 additions
and
22 deletions
-
Please register or sign in to post a comment