Commit e3f5dc1f authored by David Goulet's avatar David Goulet 🆘
Browse files

metrics: Need to surround label value with double quotes


Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 22861c2f
Pipeline #6139 passed with stage
in 21 minutes and 14 seconds
......@@ -37,6 +37,6 @@ const char *
metrics_format_label(const char *key, const char *value)
{
static char buf[128];
tor_snprintf(buf, sizeof(buf), "%s=%s", key, value);
tor_snprintf(buf, sizeof(buf), "%s=\"%s\"", key, value);
return buf;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment