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:
fbb21e3
)
Fixed argument warning.
author
Armin Novak
<armin.novak@thincast.com>
Wed, 2 May 2018 11:08:17 +0000
(13:08 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 2 May 2018 11:08:17 +0000
(13:08 +0200)
libfreerdp/core/tcp.c
patch
|
blob
|
history
diff --git
a/libfreerdp/core/tcp.c
b/libfreerdp/core/tcp.c
index
908fc6a
..
62294a5
100644
(file)
--- a/
libfreerdp/core/tcp.c
+++ b/
libfreerdp/core/tcp.c
@@
-1191,7
+1191,7
@@
int freerdp_tcp_connect(rdpContext* context, rdpSettings* settings,
return -1;
}
- if ((peerAddress = freerdp_tcp_address_to_string(addr->ai_addr, NULL)) != NULL)
+ if ((peerAddress = freerdp_tcp_address_to_string(
(struct sockaddr_storage*)
addr->ai_addr, NULL)) != NULL)
{
WLog_DBG(TAG, "connecting to peer %s", peerAddress);
free(peerAddress);