[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 1/2] qemu: use strsep for CPU command line parsing



On Thu, May 02, 2013 at 07:07:05PM +0200, Ján Tomko wrote:
> Copy the command line to allow modifying it, then get the tokens
> by strsep. This removes the need to strdup every feature separately,
> and simplifies the code.

Please use the virStringSplit() function instead of strsep()

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]