projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cc676
)
server: proxy: add an indicative log listener->Open fails. fixes #5850
author
Kobi Mizrachi
<kmizrachi18@gmail.com>
Tue, 21 Jan 2020 09:02:12 +0000
(11:02 +0200)
committer
akallabeth
<akallabeth@users.noreply.github.com>
Tue, 21 Jan 2020 11:08:39 +0000
(12:08 +0100)
server/proxy/pf_server.c
patch
|
blob
|
history
diff --git
a/server/proxy/pf_server.c
b/server/proxy/pf_server.c
index
0aadb0e
..
5c9a531
100644
(file)
--- a/
server/proxy/pf_server.c
+++ b/
server/proxy/pf_server.c
@@
-452,7
+452,11
@@
BOOL pf_server_start(proxyServer* server)
goto error;
if (!server->listener->Open(server->listener, server->config->Host, server->config->Port))
+ {
+ WLog_ERR(TAG,
+ "listener->Open failed! Port might be already used, or insufficient permissions.");
goto error;
+ }
server->thread = CreateThread(NULL, 0, pf_server_mainloop, (void*)server, 0, NULL);
if (!server->thread)