mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-27 00:00:29 -05:00
vici: Suppress trailing nul character
This commit is contained in:
parent
2cd5314de7
commit
a09a905e1d
@ -145,6 +145,7 @@ static void vadd_kv_or_li(private_vici_builder_t *this, char *key,
|
||||
{
|
||||
value = chunk_alloc(len + 1);
|
||||
len = vsnprintf(value.ptr, value.len, fmt, args);
|
||||
value.len = len;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user