[libvirt] [PATCH 1/3] openvz: Use virStringSplitCount instead of strtok_r

2016-02-25 Thread John Ferlan
When parsing the barrier:limit values, use virStringSplitCount in order to split the pair and make the approriate checks to get the data. Signed-off-by: John Ferlan --- src/openvz/openvz_conf.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a

Re: [libvirt] [PATCH 1/3] openvz: Use virStringSplitCount instead of strtok_r

2016-02-25 Thread Michal Privoznik
On 25.02.2016 15:21, John Ferlan wrote: > When parsing the barrier:limit values, use virStringSplitCount in order > to split the pair and make the approriate checks to get the data. > > Signed-off-by: John Ferlan > --- > src/openvz/openvz_conf.c | 32 +++- > 1 file ch