[dovecot-cvs] dovecot/src/lib-sql driver-pgsql.c, 1.10.2.4, 1.10.2.5

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


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

Modified Files:
      Tag: branch_1_0
	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.10.2.4
retrieving revision 1.10.2.5
diff -u -d -r1.10.2.4 -r1.10.2.5
--- driver-pgsql.c	6 Mar 2007 23:36:48 -0000	1.10.2.4
+++ driver-pgsql.c	6 Mar 2007 23:43:25 -0000	1.10.2.5
@@ -266,7 +266,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