Skip to content
Snippets Groups Projects
Commit e3f5dc1f authored by David Goulet's avatar David Goulet :panda_face:
Browse files

metrics: Need to surround label value with double quotes

parent 22861c2f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment