changeset 10038:499f5575d503 HEAD

Removed some unused FIXME code.
author Timo Sirainen <tss@iki.fi>
date Mon, 12 Oct 2009 12:54:37 -0400
parents 45cdc5539c93
children ddcc3391adf9
files src/lib-index/mail-index-transaction-update.c src/login-common/main.c
diffstat 2 files changed, 3 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-index-transaction-update.c	Mon Oct 12 12:51:06 2009 -0400
+++ b/src/lib-index/mail-index-transaction-update.c	Mon Oct 12 12:54:37 2009 -0400
@@ -929,8 +929,9 @@
 		  seq <= t->last_new_seq));
 	i_assert(ext_id < array_count(&t->view->index->extensions));
 	/* currently non-external transactions can be applied multiple times,
-	   causing multiple increments. */
-	//FIXME:i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0);
+	   causing multiple increments. FIXME: we need this now and it doesn't
+	   actually seem to be a real problem at least right now - why? */
+	/*i_assert((t->flags & MAIL_INDEX_TRANSACTION_FLAG_EXTERNAL) != 0);*/
 
 	t->log_ext_updates = TRUE;
 	if (!array_is_created(&t->ext_rec_atomics))
--- a/src/login-common/main.c	Mon Oct 12 12:51:06 2009 -0400
+++ b/src/login-common/main.c	Mon Oct 12 12:54:37 2009 -0400
@@ -167,8 +167,6 @@
 	pool_t set_pool;
 	int c;
 
-	//FIXME:is_inetd = getenv("DOVECOT_MASTER") == NULL;
-
 	master_service = master_service_init(login_process_name,
 					MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN,
 					argc, argv);
@@ -192,13 +190,6 @@
 		}
 	}
 
-#if 0
-	if (is_inetd) {
-		/* running from inetd. create master process before
-		   dropping privileges. */
-		master_fd = master_connect(t_strcut(login_process_name, '-'));
-	}
-#endif
 	login_process_preinit();
 
 	process_title_init(argv, envp);