[PATCH 1/2] [rdp compositor] remove a warning during compilation
David FORT
rdp.effort at gmail.com
Mon Jul 20 05:39:20 PDT 2015
backend_init now returns an int not a pointer.
---
src/compositor-rdp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index 86c5b2a..70d290b 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -1270,7 +1270,7 @@ backend_init(struct weston_compositor *compositor, int *argc, char *argv[],
if (!config.rdp_key && (!config.server_cert || !config.server_key)) {
weston_log("the RDP compositor requires keys and an optional certificate for RDP or TLS security ("
"--rdp4-key or --rdp-tls-cert/--rdp-tls-key)\n");
- return NULL;
+ return -1;
}
b = rdp_backend_create(compositor, &config, argc, argv, wconfig);
--
1.9.1
More information about the wayland-devel
mailing list