xrdp: xrdp_listen_main_loop pass through trans_listen_address return value
This commit is contained in:
parent
6a860d4b02
commit
252cb20365
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user