From 252cb2036518f8e6dced886fd13728d8996bd9c2 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Mon, 15 May 2017 17:35:01 +0900 Subject: [PATCH] xrdp: xrdp_listen_main_loop pass through trans_listen_address return value --- xrdp/xrdp_listen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c index 0fbe61fa..0e75dab6 100644 --- a/xrdp/xrdp_listen.c +++ b/xrdp/xrdp_listen.c @@ -331,7 +331,8 @@ xrdp_listen_conn_in(struct trans *self, struct trans *new_self) } /*****************************************************************************/ -/* wait for incoming connections */ +/* wait for incoming connections + passes through trans_listen_address return value */ int xrdp_listen_main_loop(struct xrdp_listen *self) { @@ -547,5 +548,5 @@ xrdp_listen_main_loop(struct xrdp_listen *self) } self->status = -1; - return 0; + return error; }