about summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--concat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/concat.c b/concat.c
index c59a828..bd41913 100644
--- a/concat.c
+++ b/concat.c
@@ -82,10 +82,8 @@ void concatData(
 }
 
 static char *uidPath(uint32_t uid, const char *type) {
-	char str[32];
-	snprintf(str, sizeof(str), "%" PRIu32, uid);
 	struct Variable vars[] = {
-		{ "uid", str },
+		{ "uid", u32(uid).s },
 		{ "type", type },
 		{0},
 	};
are connectedJune McEnroe 2019-10-26Add flags to request TOPIC and NAMES on client connectJune McEnroe 2019-10-26OopsJune McEnroe 2019-10-26Disconnect client on unknown commandJune McEnroe 2019-10-26Allow reading sensitive information from filesJune McEnroe 2019-10-26Add rc scriptJune McEnroe 2019-10-25Add install and uninstall targetsJune McEnroe 2019-10-25Expand documentationJune McEnroe 2019-10-25Add AGPLv3 notice on client registrationJune McEnroe 2019-10-25Rename project pounceJune McEnroe