script-login.c revision d482079eb385cd071bbc9637cacee225e4aff968
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen/* Copyright (c) 2009-2010 Dovecot authors, see the included COPYING file */
0f39a57760d93cddbce3ca43096d78e0fe2f42fdTimo Sirainenstatic const char **exec_args;
c2f24d55319fad0b6c03425f402f0cb0cb1a318bTimo Sirainenstatic void client_connected(struct master_service_connection *conn)
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen const char **args, *key, *value, *error, *version_line, *data_line;
2e29e4797a48d78d669821722bdb54fd0a1d3b94Timo Sirainen unsigned int i, socket_count;
while (ret > 0) {
if (ret <= 0) {
if (ret < 0)
env_clean();
if (drop_privileges)
for (i = 0; i < socket_count; i++) {
static void script_execute_finish(void)
if (ret < 0)
return FATAL_DEFAULT;
for (i = 0; i < argc; i++)