The client->Close call is unneeded as that is already implied by returning
FALSE.
---
src/compositor-rdp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index fc7dfb2..aecc0a8 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -681,7 +681,6 @@ xf_peer_post_connect(freerdp_peer* client)
if (!settings->DesktopResize) {
/* peer does not support desktop resize */
weston_log("%s: client doesn't support
resizing, closing connection\n", __FUNCTION__);
- client->Close(client);
return FALSE;
} else {
settings->DesktopWidth = output->base.width;
--
1.9.0
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel