src/evpq.c
changeset 24 82cfdb6680d1
parent 23 1dee73ae4ad0
child 25 99a41f48e29b
--- a/src/evpq.c	Sun Oct 12 01:09:00 2008 +0300
+++ b/src/evpq.c	Sun Oct 12 14:57:06 2008 +0300
@@ -288,7 +288,7 @@
         ERROR("PQsendQuery: %s", PQerrorMessage(conn->pg_conn));
     
     // handle it
-    if (_evpq_handle_query(con))
+    if (_evpq_handle_query(conn))
         goto error;
 
     // success
@@ -308,7 +308,7 @@
         ERROR("PQsendQueryParams: %s", PQerrorMessage(conn->pg_conn));
     
     // handle it
-    if (_evpq_handle_query(con))
+    if (_evpq_handle_query(conn))
         goto error;
 
     // success