vhost-user: minor simplification
commitd9d261142d554504a32d95b771e9d8191631323f
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 26 Jul 2016 21:14:56 +0000 (27 01:14 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 28 Jul 2016 21:33:46 +0000 (29 00:33 +0300)
treeaf3592a6cf3138d091bf39febc154581c02855f5
parent01edc230d9d3276bd77b79a66d770e3b66a8ca4b
vhost-user: minor simplification

Shorten the code and make it more clear by using the specialized
function g_str_has_prefix().

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-user.c