mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
metrics: Need to surround label value with double quotes
Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
22861c2f40
commit
e3f5dc1fd3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user