diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-28 04:23:40 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-28 04:23:40 +0200 |
commit | 67c8d5cd7e6610e0906aeea7cdfe9c5269d0e95b (patch) | |
tree | e9539d1afb360a356456824e3332bf0d30d16cfb /src | |
parent | implement inet address parsing (diff) | |
download | mds-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.c | 2 |
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; |