commit 30467b16b82f7cb1603268156d9edc1d6308b786
parent bdad018fe5c19d33b1eb6815f2105886bea1691d
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 12 Feb 2017 18:22:18 +0100
no newline
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_proposal.c b/src/backend/taler-merchant-httpd_proposal.c
@@ -172,7 +172,7 @@ proposal_put (struct MHD_Connection *connection, json_t *order)
off = strftime (buf, sizeof (buf), "%H:%M:%S", tm_info);
snprintf (buf + off, sizeof (buf) - off,
- "-%llX\n",
+ "-%llX",
(long long unsigned) GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX));
json_object_set (order, "order_id", json_string (buf));
}