aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsclient/comm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libmdsclient/comm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmdsclient/comm.c b/src/libmdsclient/comm.c
index a4c5fff..91502f3 100644
--- a/src/libmdsclient/comm.c
+++ b/src/libmdsclient/comm.c
@@ -167,7 +167,7 @@ int libmds_connection_establish(libmds_connection_t* restrict this, const char**
if (this->socket_fd < 0)
goto fail;
- while (connect(this->socket_fd, (struct sockaddr*)(addr.address), addr.address_len))
+ while (connect(this->socket_fd, addr.address, addr.address_len))
if (errno != EINTR)
goto fail;