diff options
Diffstat (limited to 'xrdp')
-rw-r--r-- | xrdp/xrdp_listen.c | 5 |
1 files 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; } |