projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54098ab
)
Fixed unchecked return warning.
author
Armin Novak
<armin.novak@thincast.com>
Thu, 7 Feb 2019 13:38:55 +0000
(14:38 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 5 Apr 2019 07:14:35 +0000
(09:14 +0200)
client/Wayland/wlf_cliprdr.c
patch
|
blob
|
history
diff --git
a/client/Wayland/wlf_cliprdr.c
b/client/Wayland/wlf_cliprdr.c
index
282eb9a
..
135223f
100644
(file)
--- a/
client/Wayland/wlf_cliprdr.c
+++ b/
client/Wayland/wlf_cliprdr.c
@@
-602,7
+602,7
@@
static UINT wlf_cliprdr_server_format_data_request(CliprdrClientContext* context
const CLIPRDR_FORMAT_DATA_REQUEST* formatDataRequest)
{
int cnv;
- UINT rc;
+ UINT rc
= CHANNEL_RC_OK
;
BYTE* data;
LPWSTR cdata;
size_t size;
@@
-667,6
+667,9
@@
static UINT wlf_cliprdr_server_format_data_request(CliprdrClientContext* context
break;
}
+ if (rc != CHANNEL_RC_OK)
+ return rc;
+
rc = wlf_cliprdr_send_data_response(clipboard, data, size);
free(data);
return rc;