diff --git a/src/netlog/netlog-dtls.c b/src/netlog/netlog-dtls.c index febbcfe..805f174 100644 --- a/src/netlog/netlog-dtls.c +++ b/src/netlog/netlog-dtls.c @@ -90,7 +90,7 @@ int dtls_connect(DTLSManager *m, SocketAddress *address) { fd = socket(AF_INET, SOCK_DGRAM, 0); if (fd < 0) - return log_error_errno(errno, "DTLS: Failed to allocate socket: %m");; + return log_error_errno(errno, "DTLS: Failed to allocate socket: %m"); r = sockaddr_pretty(&address->sockaddr.sa, salen, true, true, &pretty); if (r < 0) @@ -98,7 +98,7 @@ int dtls_connect(DTLSManager *m, SocketAddress *address) { r = connect(fd, &address->sockaddr.sa, salen); if (r < 0 && errno != EINPROGRESS) - return log_error_errno(errno, "DTLS: Failed to connect to remote server='%s': %m", pretty);; + return log_error_errno(errno, "DTLS: Failed to connect to remote server='%s': %m", pretty); log_debug("DTLS: Connected to remote server: '%s'", pretty); @@ -185,7 +185,7 @@ void dtls_disconnect(DTLSManager *m) { } m->fd = safe_close(m->fd); - m->connected = false;; + m->connected = false; } void dtls_manager_free(DTLSManager *m) { diff --git a/src/netlog/netlog-network.c b/src/netlog/netlog-network.c index 350c609..8d48502 100644 --- a/src/netlog/netlog-network.c +++ b/src/netlog/netlog-network.c @@ -251,7 +251,7 @@ int manager_open_network_socket(Manager *m) { return -EPROTONOSUPPORT; } if (m->socket < 0) - return log_error_errno(errno, "Failed to create socket: %m");; + return log_error_errno(errno, "Failed to create socket: %m"); log_debug("Successfully created socket with fd='%d'", m->socket); diff --git a/src/netlog/netlog-tls.c b/src/netlog/netlog-tls.c index 4be03de..36f105d 100644 --- a/src/netlog/netlog-tls.c +++ b/src/netlog/netlog-tls.c @@ -195,7 +195,7 @@ int tls_connect(TLSManager *m, SocketAddress *address) { fd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (fd < 0) - return log_error_errno(errno, "TLS: Failed to allocate socket: %m");; + return log_error_errno(errno, "TLS: Failed to allocate socket: %m"); r = sockaddr_pretty(&address->sockaddr.sa, salen, true, true, &pretty); if (r < 0) @@ -203,7 +203,7 @@ int tls_connect(TLSManager *m, SocketAddress *address) { r = connect(fd, &address->sockaddr.sa, salen); if (r < 0 && errno != EINPROGRESS) - return log_error_errno(errno, "TLS: Failed to connect to remote server='%s': %m", pretty);; + return log_error_errno(errno, "TLS: Failed to connect to remote server='%s': %m", pretty); log_debug("TLS: Connected to remote server: '%s'", pretty); @@ -286,7 +286,7 @@ void tls_disconnect(TLSManager *m) { } m->fd = safe_close(m->fd); - m->connected = false;; + m->connected = false; } void tls_manager_free(TLSManager *m) {