Re: [Spice-devel] [PATCH v2 2/4] vdagent: move file xfer initialization to a function

2017-05-18 Thread Victor Toso
Hi, On Wed, May 17, 2017 at 06:29:06PM +0200, Christophe Fergeau wrote: > On Tue, May 16, 2017 at 07:27:53PM +0200, Victor Toso wrote: > > From: Victor Toso > > > > This patch creates two functions: > > - xfer_get_download_directory() > > - vdagent_init_file_xfer() > > > > The logic should be s

Re: [Spice-devel] [PATCH v2 2/4] vdagent: move file xfer initialization to a function

2017-05-17 Thread Christophe Fergeau
On Tue, May 16, 2017 at 07:27:53PM +0200, Victor Toso wrote: > From: Victor Toso > > This patch creates two functions: > - xfer_get_download_directory() > - vdagent_init_file_xfer() > > The logic should be similar as it was before this patch, taking in > consideration the global variables fx_ope

[Spice-devel] [PATCH v2 2/4] vdagent: move file xfer initialization to a function

2017-05-16 Thread Victor Toso
From: Victor Toso This patch creates two functions: - xfer_get_download_directory() - vdagent_init_file_xfer() The logic should be similar as it was before this patch, taking in consideration the global variables fx_open_dir and fx_dir which are set from command line. Signed-off-by: Victor Toso