aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-28 04:23:40 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-28 04:23:40 +0200
commit67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b (patch)
treee9539d1afb360a356456824e3332bf0d30d16cfb /src
parentimplement inet address parsing (diff)
downloadmds-67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b.tar.gz
mds-67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b.tar.bz2
mds-67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b.tar.xz
remove redundent cast
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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;