Report an error when file transfers are disabled
commit9ea18740b8cf4466ebd2f6bca42d1d70dd0ba01c
authorChristophe Fergeau <cfergeau@redhat.com>
Tue, 8 Apr 2014 14:11:38 +0000 (8 16:11 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Thu, 18 Sep 2014 11:34:26 +0000 (18 13:34 +0200)
treea95ca27e2578d8ef2bfcade2ff49bb0a1515dc17
parent689dcd35edb55abcdef4d30d92fdcca22d81ee23
Report an error when file transfers are disabled

This commit sends back a VD_AGENT_FILE_XFER_STATUS_ERROR to clients which
try to transfer files when the agent disabled file transfers (for example
because there is no valid destination directory for the transferred files).
src/vdagent-file-xfers.c
src/vdagent-file-xfers.h
src/vdagent.c