diff options
Diffstat (limited to 'pop3d')
-rw-r--r-- | pop3d/pop3d.c | 3 | ||||
-rw-r--r-- | pop3d/popauth.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pop3d/pop3d.c b/pop3d/pop3d.c index a8a8e5672..4facdee3e 100644 --- a/pop3d/pop3d.c +++ b/pop3d/pop3d.c @@ -47,7 +47,7 @@ static error_t pop3d_parse_opt __P((int key, char *arg, struct argp_state *astate)); static void pop3d_log_connection __P((int fd)); -const char *argp_program_version = "pop3d (" PACKAGE_STRING ")"; +const char *program_version = "pop3d (" PACKAGE_STRING ")"; static char doc[] = N_("GNU pop3d -- the POP3 daemon"); static struct argp argp = { @@ -97,6 +97,7 @@ main (int argc, char **argv) /* Native Language Support */ mu_init_nls (); + mu_argp_init (program_version, NULL); MU_AUTH_REGISTER_ALL_MODULES(); #ifdef WITH_TLS mu_tls_init_argp (); diff --git a/pop3d/popauth.c b/pop3d/popauth.c index 535bd6ac8..64645d880 100644 --- a/pop3d/popauth.c +++ b/pop3d/popauth.c @@ -51,7 +51,7 @@ int (*ftab[]) __P((struct action_data *)) = { action_chpass }; -const char *argp_program_version = "popauth (" PACKAGE_STRING ")"; +const char *program_version = "popauth (" PACKAGE_STRING ")"; static char doc[] = N_("GNU popauth -- manage pop3 authentication database"); static error_t popauth_parse_opt __P((int key, char *arg, struct argp_state *astate)); @@ -168,6 +168,7 @@ main(int argc, char **argv) /* Native Language Support */ mu_init_nls (); + mu_argp_init (program_version, NULL); mu_argp_parse (&argp, &argc, &argv, 0, popauth_argp_capa, NULL, &adata); |