diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-15 14:16:10 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-15 14:16:10 +0200 |
commit | 6c774a1f032e2e09ab5e22a58a1979acc2c3430b (patch) | |
tree | c3a9079fcebe189e4e225b0f9c7d92766d37b694 /src/pq/db_pq.c | |
parent | 6b9ccc4ca0a5cb35c6cc76a8d5247ac914561d64 (diff) |
completing test-case implementation:
Diffstat (limited to 'src/pq/db_pq.c')
-rw-r--r-- | src/pq/db_pq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/db_pq.c b/src/pq/db_pq.c index 42ce3fa71..220ce9f94 100644 --- a/src/pq/db_pq.c +++ b/src/pq/db_pq.c @@ -113,7 +113,7 @@ TALER_PQ_exec_prepared (PGconn *db_conn, param_formats[off] = 1; off++; param_values[off] = (void *) amount->currency; - param_lengths[off] = strlen (amount->currency) + 1; + param_lengths[off] = strlen (amount->currency); param_formats[off] = 1; off++; } @@ -136,7 +136,7 @@ TALER_PQ_exec_prepared (PGconn *db_conn, param_formats[off] = 1; off++; param_values[off] = (void *) amount->currency; - param_lengths[off] = strlen (amount->currency) + 1; + param_lengths[off] = strlen (amount->currency); param_formats[off] = 1; off++; } |