[dovecot-cvs] dovecot/src/dict dict-server.c,1.16,1.17

cras at dovecot.org cras at dovecot.org
Sun Sep 10 15:33:08 EEST 2006


Update of /var/lib/cvs/dovecot/src/dict
In directory talvi:/tmp/cvs-serv1034/dict

Modified Files:
	dict-server.c 
Log Message:
Removed type parameter from ARRAY_CREATE since it's not needed anymore.



Index: dict-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/dict/dict-server.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- dict-server.c	30 Jul 2006 23:03:58 -0000	1.16
+++ dict-server.c	10 Sep 2006 12:33:06 -0000	1.17
@@ -154,10 +154,8 @@
 		return -1;
 	}
 
-	if (!array_is_created(&conn->transactions)) {
-		ARRAY_CREATE(&conn->transactions, default_pool,
-			     struct dict_server_transaction, 4);
-	}
+	if (!array_is_created(&conn->transactions))
+		ARRAY_CREATE(&conn->transactions, default_pool, 4);
 
 	/* <id> */
 	trans = array_append_space(&conn->transactions);



More information about the dovecot-cvs mailing list