aboutsummaryrefslogtreecommitdiff
path: root/src/wydawca.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wydawca.c')
-rw-r--r--src/wydawca.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wydawca.c b/src/wydawca.c
index 69fb898..521d796 100644
--- a/src/wydawca.c
+++ b/src/wydawca.c
@@ -325,19 +325,33 @@ wydawca_daemon ()
325 remove_pidfile (); 325 remove_pidfile ();
326} 326}
327 327
328 328
329#include "cmdline.h" 329#include "cmdline.h"
330 330
331void
332version_hook (FILE *stream)
333{
334 printf ("Compiled with:");
335#ifdef WITH_LIBWRAP
336 printf (" libwrap");
337#endif
338#ifdef WITH_INOTIFY
339 printf (" inotify");
340#endif
341 putchar ('\n');
342}
343
331int 344int
332main (int argc, char **argv) 345main (int argc, char **argv)
333{ 346{
334 struct grecs_node *tree; 347 struct grecs_node *tree;
335 const char *p; 348 const char *p;
336 349
337 program_name = argv[0]; 350 program_name = argv[0];
351 print_version_hook = version_hook;
338 mu_register_all_mailer_formats (); 352 mu_register_all_mailer_formats ();
339 mu_stdstream_setup (MU_STDSTREAM_RESET_NONE); 353 mu_stdstream_setup (MU_STDSTREAM_RESET_NONE);
340 config_init (); 354 config_init ();
341 355
342 x_argv = argv; 356 x_argv = argv;
343 parse_options (argc, argv); 357 parse_options (argc, argv);

Return to:

Send suggestions and report system problems to the System administrator.