commit bdad018fe5c19d33b1eb6815f2105886bea1691d
parent 8476ecfc8b80295e6ed82e9a43a4ca3894ab499c
Author: Florian Dold <florian.dold@gmail.com>
Date: Sun, 12 Feb 2017 18:21:26 +0100
prettier automatic order_id
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,
- "%llu\n",
+ "-%llX\n",
(long long unsigned) GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX));
json_object_set (order, "order_id", json_string (buf));
}