diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-11 17:37:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-11 17:37:53 +0100 |
commit | 8acff3af0c2862e556ddce96440db9a8c525f395 (patch) | |
tree | f49521cf2f5ee8290336e8ed97c9e516fcfa698b /src/pq | |
parent | 4769344a7a8db5a9fecab394274b9407a14a2961 (diff) | |
download | gnunet-8acff3af0c2862e556ddce96440db9a8c525f395.tar.gz gnunet-8acff3af0c2862e556ddce96440db9a8c525f395.zip |
fix MACRO syntax, improve logging
Diffstat (limited to 'src/pq')
-rw-r--r-- | src/pq/pq_result_helper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pq/pq_result_helper.c b/src/pq/pq_result_helper.c index 546822e45..205eb8fce 100644 --- a/src/pq/pq_result_helper.c +++ b/src/pq/pq_result_helper.c | |||
@@ -187,6 +187,11 @@ extract_fixed_blob (void *cls, | |||
187 | fnum); | 187 | fnum); |
188 | if (*dst_size != len) | 188 | if (*dst_size != len) |
189 | { | 189 | { |
190 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
191 | "Expected %u bytes for field `%s', got %u\n", | ||
192 | *dst_size, | ||
193 | fname, | ||
194 | len); | ||
190 | GNUNET_break (0); | 195 | GNUNET_break (0); |
191 | return GNUNET_SYSERR; | 196 | return GNUNET_SYSERR; |
192 | } | 197 | } |