From b837ef02aff4c0974161ff2e077551a9710fdac5 Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Thu, 11 Jan 2024 00:39:56 -0600 Subject: add auth --- src/uuid/uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uuid') diff --git a/src/uuid/uuid.c b/src/uuid/uuid.c index e1498fc..07fc009 100644 --- a/src/uuid/uuid.c +++ b/src/uuid/uuid.c @@ -44,7 +44,7 @@ void l2_uuid_to_string(const uuid_t *id, char *out) void l2_uuid_to_string_short(const uuid_t *id, char *out) { - snprintf(out, UUID_STRLEN_SHORT + 1, "%08" PRIx64 "%08" PRIx64, id->halves[1], id->halves[0]); + snprintf(out, UUID_STRLEN_SHORT + 1, "%016" PRIx64 "%016" PRIx64, id->halves[1], id->halves[0]); } bool l2_uuid_from_string(uuid_t *id, const char *str) -- cgit v1.2.3-70-g09d2