summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard_file.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-04-26 18:55:28 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2013-04-26 18:55:28 -0700
commit58158e6a3bed2044e5bddeaac1b16b88746fe6c1 (patch)
tree400c439d3a65aa6621ef7f564d4f34396078305b /sesman/chansrv/clipboard_file.c
parentc5ebc9ae51b7a0c9a805ecd93055557d64341baf (diff)
downloadxrdp-proprietary-58158e6a3bed2044e5bddeaac1b16b88746fe6c1.tar.gz
xrdp-proprietary-58158e6a3bed2044e5bddeaac1b16b88746fe6c1.zip
hooked up clipboard code with FUSE
Diffstat (limited to 'sesman/chansrv/clipboard_file.c')
-rw-r--r--sesman/chansrv/clipboard_file.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sesman/chansrv/clipboard_file.c b/sesman/chansrv/clipboard_file.c
index 1942999d..42b5d4a3 100644
--- a/sesman/chansrv/clipboard_file.c
+++ b/sesman/chansrv/clipboard_file.c
@@ -53,7 +53,7 @@ extern int g_cliprdr_chan_id; /* in chansrv.c */
extern struct clip_s2c g_clip_s2c; /* in clipboard.c */
extern struct clip_c2s g_clip_c2s; /* in clipboard.c */
-extern char g_fuse_root_path[]; /* in chansrv_fuse.c */
+extern char g_fuse_clipboard_path[];
struct cb_file_info
{
@@ -454,7 +454,9 @@ clipboard_request_file_data(int stream_id, int lindex, int offset,
int size;
int rv;
- LLOGLN(10, ("clipboard_request_file_data:"));
+ LLOGLN(10, ("clipboard_request_file_data: stream_id=%d lindex=%d off=%d request_bytes=%d",
+ stream_id, lindex, offset, request_bytes));
+
if (g_file_request_sent_type != 0)
{
LLOGLN(0, ("clipboard_request_file_data: warning, still waiting "
@@ -625,8 +627,8 @@ clipboard_c2s_in_files(struct stream *s, char *file_list)
g_strcpy(ptr, "file://");
ptr += 7;
- str_len = g_strlen(g_fuse_root_path);
- g_strcpy(ptr, g_fuse_root_path);
+ str_len = g_strlen(g_fuse_clipboard_path);
+ g_strcpy(ptr, g_fuse_clipboard_path);
ptr += str_len;
*ptr = '/';