[dovecot-cvs] dovecot/src/lib-sql driver-pgsql.c,1.15,1.16

tss at dovecot.org tss at dovecot.org
Wed Mar 7 01:43:30 EET 2007


Update of /var/lib/cvs/dovecot/src/lib-sql
In directory talvi:/tmp/cvs-serv8964

Modified Files:
	driver-pgsql.c 
Log Message:
t_push/t_pop the callback.



Index: driver-pgsql.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-sql/driver-pgsql.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- driver-pgsql.c	6 Mar 2007 23:36:52 -0000	1.15
+++ driver-pgsql.c	6 Mar 2007 23:43:27 -0000	1.16
@@ -263,7 +263,9 @@
 
 	if (result->callback != NULL) {
 		result->api.callback = TRUE;
+		t_push();
 		result->callback(&result->api, result->context);
+		t_pop();
 		result->api.callback = FALSE;
 		free_result = db->sync_result != &result->api;
 	}



More information about the dovecot-cvs mailing list