]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/trans.c
Opt: Documented opt and its interaction with conf
[libucw.git] / ucw / trans.c
index 5f917fd219eea7ee2635968ca093fa137cb90c12..db8838372db0d8a2d7f3dd70944a840ce2cfffdc 100644 (file)
@@ -9,10 +9,10 @@
 
 #undef LOCAL_DEBUG
 
-#include "ucw/lib.h"
-#include "ucw/trans.h"
-#include "ucw/respool.h"
-#include "ucw/mempool.h"
+#include <ucw/lib.h>
+#include <ucw/trans.h>
+#include <ucw/resource.h>
+#include <ucw/mempool.h>
 
 #include <stdio.h>
 
@@ -93,7 +93,7 @@ trans_commit(void)
   DBG("Committing transaction %p", t);
   ASSERT(t);
   ASSERT(!t->thrown_exc);
-  rp_detach(t->rpool);
+  rp_commit(t->rpool);
   trans_pop(t, c);
   trans_drop(t, c);
 }