[dovecot-cvs] dovecot/src/lib-index mail-transaction-log-view.c, 1.48, 1.49

tss at dovecot.org tss at dovecot.org
Sun Nov 19 14:35:57 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv2131

Modified Files:
	mail-transaction-log-view.c 
Log Message:
Compile fix



Index: mail-transaction-log-view.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-transaction-log-view.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- mail-transaction-log-view.c	18 Nov 2006 21:01:10 -0000	1.48
+++ mail-transaction-log-view.c	19 Nov 2006 14:35:55 -0000	1.49
@@ -19,7 +19,7 @@
 	/* a list of log files we've referenced. we have to keep this list
 	   explicitly because more files may be added into the linked list
 	   at any time. */
-	array_t ARRAY_DEFINE(file_refs, struct mail_transaction_log_file *);
+	ARRAY_DEFINE(file_refs, struct mail_transaction_log_file *);
         struct mail_transaction_log_file *cur, *head, *tail;
 	uoff_t cur_offset;
 
@@ -40,8 +40,7 @@
 
 	view->head = view->tail = view->log->head;
 	view->head->refcount++;
-	ARRAY_CREATE(&view->file_refs, default_pool,
-		     struct mail_transaction_log_file *, 8);
+	i_array_init(&view->file_refs, 8);
 	array_append(&view->file_refs, &view->head, 1);
 
 	view->next = log->views;



More information about the dovecot-cvs mailing list