diff src/c/fastcgi.c @ 1672:ea131de361d9

Fix some locking issues for client array
author Adam Chlipala <adam@chlipala.net>
date Tue, 10 Jan 2012 17:32:48 -0500
parents 4d0b80dd4c37
children a6eab6820b37
line wrap: on
line diff
--- a/src/c/fastcgi.c	Tue Jan 10 15:34:18 2012 -0500
+++ b/src/c/fastcgi.c	Tue Jan 10 17:32:48 2012 -0500
@@ -632,8 +632,7 @@
   if (uw_get_app(ctx)->db_begin(ctx))
     uw_error(ctx, FATAL, "Error running SQL BEGIN");
   uw_get_app(ctx)->expunger(ctx, cli);
-  if (uw_get_app(ctx)->db_commit(ctx))
-    uw_error(ctx, FATAL, "Error running SQL COMMIT");
+  uw_commit(ctx);
 }
 
 void uw_post_expunge(uw_context ctx, void *data) {