~ubuntu-dev/ubuntu/lucid/dovecot/lucid-201002101901

« back to all changes in this revision

Viewing changes to src/login-common/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-06-28 08:45:43 UTC
  • mfrom: (1.10.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060628084543-pc6v7oikzlvnlnu3
Tags: 1.0.beta9-1ubuntu1
* Merge from debian unstable, resolved minor conflicts.
* debian/control: Removed unnecessary build dependency ssl-cert, add it as
  dovecot-common dependency.
* Remove debian/patches/prohibit_.._mbox_mask.dpatch, upstream now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
        lib_signals_init();
176
176
        lib_signals_set_handler(SIGINT, TRUE, sig_die, NULL);
177
177
        lib_signals_set_handler(SIGTERM, TRUE, sig_die, NULL);
178
 
        lib_signals_set_handler(SIGPIPE, FALSE, NULL, NULL);
 
178
        lib_signals_ignore(SIGPIPE);
179
179
 
180
180
        disable_plaintext_auth = getenv("DISABLE_PLAINTEXT_AUTH") != NULL;
181
181
        process_per_connection = getenv("PROCESS_PER_CONNECTION") != NULL;
207
207
        if (login_process_uid == 0)
208
208
                i_fatal("BUG: PROCESS_UID environment is 0");
209
209
 
 
210
        /* capability default is set in imap/pop3-login */
 
211
        value = getenv("CAPABILITY_STRING");
 
212
        if (value != NULL && *value != '\0')
 
213
                capability_string = value;
 
214
 
210
215
        closing_down = FALSE;
211
216
        main_refcount = 0;
212
217