summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-06-23 14:17:59 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-06-23 14:17:59 -0700
commit0aa3dbe738ac892462776b73d037e7324e26d3cb (patch)
tree3bb555723185aa153690be67ef6534685d6d9aeb /sesman/chansrv/clipboard.c
parentd90431aeb5a299777db462c579718bb77f94bb8f (diff)
downloadxrdp-proprietary-0aa3dbe738ac892462776b73d037e7324e26d3cb.tar.gz
xrdp-proprietary-0aa3dbe738ac892462776b73d037e7324e26d3cb.zip
chansrv: no logic change, EOL and coding style cleanup
Diffstat (limited to 'sesman/chansrv/clipboard.c')
-rw-r--r--sesman/chansrv/clipboard.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index dc6d2484..89dbdbbb 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -1490,9 +1490,11 @@ clipboard_data_in(struct stream *s, int chan_id, int chan_flags, int length,
struct stream *ls;
char *holdp;
- if (! g_clip_up) {
- LOG(10, ("aborting clipboard_data_in - clipboard has not been initialized"));
- // we return 0 here to indicate no protocol problem occured
+ if (!g_clip_up)
+ {
+ LOG(10, ("aborting clipboard_data_in - clipboard has not "
+ "been initialized"));
+ /* we return 0 here to indicate no protocol problem occured */
return 0;
}