~ubuntu-branches/ubuntu/wily/dovecot/wily

« back to all changes in this revision

Viewing changes to src/log/main.c

  • Committer: Package Import Robot
  • Author(s): Jaldhar H. Vyas
  • Date: 2013-09-09 00:57:32 UTC
  • mfrom: (1.13.11)
  • mto: (4.8.5 experimental) (1.16.1)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: package-import@ubuntu.com-20130909005732-dn1eell8srqbhh0e
Tags: upstream-2.2.5
ImportĀ upstreamĀ versionĀ 2.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2005-2012 Dovecot authors, see the included COPYING file */
 
1
/* Copyright (c) 2005-2013 Dovecot authors, see the included COPYING file */
2
2
 
3
3
#include "lib.h"
4
4
#include "lib-signals.h"
57
57
{
58
58
        const char *error;
59
59
 
60
 
        master_service = master_service_init("log", 0, &argc, &argv, NULL);
 
60
        master_service = master_service_init("log", 0, &argc, &argv, "");
61
61
 
62
62
        /* use log prefix and log to stderr until we've configured the real
63
63
           logging */
74
74
        restrict_access_by_env(NULL, FALSE);
75
75
        restrict_access_allow_coredumps(TRUE);
76
76
 
77
 
        master_service_init_finish(master_service);
78
 
 
79
77
        /* logging should never die if there are some clients */
80
78
        master_service_set_die_with_master(master_service, FALSE);
81
79
 
82
80
        main_init();
 
81
        master_service_init_finish(master_service);
83
82
        master_service_run(master_service, client_connected);
84
83
        main_deinit();
85
84
        master_service_deinit(&master_service);