slirp: replace the poor-man string split with g_strsplit()
commitfbcd3f9a45702c4eb31d9173aa278cb40bb8d0b0
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 10 Nov 2018 13:45:46 +0000 (10 17:45 +0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 13 Jan 2019 23:40:54 +0000 (14 00:40 +0100)
tree557d351b4f13ceaf5e98c680492d03584888e200
parentc27f247865d7e1910136b57a5c066737ab1bf2bb
slirp: replace the poor-man string split with g_strsplit()

Use the glib function for the work, fix a potential crash on >256 words.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/misc.c