Commit 2125fa1b 2125fa1b4899a1ae59d4d24ddd2a569557cb7f22 by Sergey Poznyakoff

Minor fixes.

* include/mailutils/cfg.h (mu_cfg_perror): Mark as printflike.
(mu_cfg_format_error): Likewise.
* libmu_argp/radius.c (mu_radius_argp_option): Fix typo in the
docstring.
* mail/mail.h [!WITH_READLINE] (mailvar_set_compl): New define.
1 parent 5e2f8ad6
......@@ -92,8 +92,10 @@ extern mu_cfg_locus_t mu_cfg_locus;
mu_opool_t mu_cfg_lexer_pool (void);
void mu_cfg_perror (const mu_cfg_locus_t *, const char *, ...);
void mu_cfg_format_error (mu_debug_t debug, size_t, const char *fmt, ...);
void mu_cfg_perror (const mu_cfg_locus_t *, const char *, ...)
MU_PRINTFLIKE(2,3);
void mu_cfg_format_error (mu_debug_t debug, size_t, const char *fmt, ...)
MU_PRINTFLIKE(3,4);
#define MU_CFG_ITER_OK 0
#define MU_CFG_ITER_SKIP 1
......
......@@ -32,7 +32,7 @@ enum {
static struct argp_option mu_radius_argp_option[] = {
{ "radius-auth-request", OPT_AUTH_REQUEST, N_("REQUEST"), OPTION_HIDDEN,
N_("radius request to authenitcate the user"), 0 },
N_("radius request to authenticate the user"), 0 },
{ "radius-getpwnam-request", OPT_GETPWNAM_REQUEST, N_("REQUEST"), OPTION_HIDDEN,
N_("radius request to retrieve a passwd entry based on username"), 0 },
{ "radius-getpwuid-request", OPT_GETPWUID_REQUEST, N_("REQUEST"), OPTION_HIDDEN,
......
......@@ -476,6 +476,7 @@ extern char **exec_compl (int argc, char **argv, int ws);
# define alias_compl NULL
# define var_compl NULL
# define exec_compl NULL
# define mailvar_set_compl NULL
#endif
#ifdef __cplusplus
......