Re: [Spice-devel] [PATCH v2 4/4] vdagent: Use glib's commandline parser

2017-05-17 Thread Christophe Fergeau
On Tue, May 16, 2017 at 07:27:55PM +0200, Victor Toso wrote: > From: Victor Toso > > As we already depend on glib, let's remove code that glib can take > care. In this case, we don't need to handle commandline parsing > ourselves. > > In regard the global variables: > > * static const char * ->

[Spice-devel] [PATCH v2 4/4] vdagent: Use glib's commandline parser

2017-05-16 Thread Victor Toso
From: Victor Toso As we already depend on glib, let's remove code that glib can take care. In this case, we don't need to handle commandline parsing ourselves. In regard the global variables: * static const char * -> static char * [only paths] path variables: portdev, fx_dir, vdagentd_socket