[dovecot-cvs] dovecot/src/lib-sql driver-pgsql.c,1.5,1.6
cras at dovecot.org
cras at dovecot.org
Wed Jan 11 23:45:58 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-sql
In directory talvi:/tmp/cvs-serv19623
Modified Files:
driver-pgsql.c
Log Message:
Added assert
Index: driver-pgsql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/driver-pgsql.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- driver-pgsql.c 10 Dec 2005 21:03:21 -0000 1.5
+++ driver-pgsql.c 11 Jan 2006 21:45:56 -0000 1.6
@@ -172,6 +172,8 @@
{
struct pgsql_db *db;
+ i_assert(connect_string != NULL);
+
db = i_new(struct pgsql_db, 1);
db->connect_string = i_strdup(connect_string);
db->api = driver_pgsql_db;
More information about the dovecot-cvs
mailing list