aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-20 00:47:18 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-20 00:47:18 +0100
commitb424335cc632a11bd76bad5791cef10e8c985720 (patch)
treeb4193d55dd40fc18e4e32b1815f33af874b9cd2f /src/pq
parent2dde0202c5590eeb051c1346f2b66293d83b87ce (diff)
downloadgnunet-b424335cc632a11bd76bad5791cef10e8c985720.tar.gz
gnunet-b424335cc632a11bd76bad5791cef10e8c985720.zip
use log_from
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index f4bab4e00..4e24e1ef8 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -85,9 +85,10 @@ GNUNET_PQ_exec_prepared (PGconn *db_conn,
85 off += x->num_params; 85 off += x->num_params;
86 } 86 }
87 GNUNET_assert (off == len); 87 GNUNET_assert (off == len);
88 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 88 GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
89 "Executing prepared SQL statement `%s'\n", 89 "pq",
90 name); 90 "Executing prepared SQL statement `%s'\n",
91 name);
91 res = PQexecPrepared (db_conn, 92 res = PQexecPrepared (db_conn,
92 name, 93 name,
93 len, 94 len,