From 6648e5a80e33bdae4ba70c81231a2a28ac7b4411 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 13:55:02 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- send.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'send.c') diff --git a/send.c b/send.c index 62c12a7..1878451 100644 --- a/send.c +++ b/send.c @@ -38,7 +38,7 @@ liberror_send_failed(int fd, const void *buf, size_t n, int flags, const char *f #endif #if defined(EAGAIN) || defined(EWOULDBLOCK) desc = "Attempting to send in nonblocking mode but the operation would block " - "or the socket is unbound and all ephemeral ports are currently in used"; + "or the socket is unbound and all ephemeral ports are currently in use"; # if defined(EAGAIN) # if defined(EWOULDBLOCK) && (EAGAIN != EWOULDBLOCK) if (errno == EAGAIN) { @@ -62,7 +62,7 @@ liberror_send_failed(int fd, const void *buf, size_t n, int flags, const char *f errno = saved_errno; # if defined(EWOULDBLOCK) && (EAGAIN != EWOULDBLOCK) } else { - goto first_case_in_eagain: + goto first_case_in_eagain; } # endif # endif @@ -102,13 +102,13 @@ liberror_send_failed(int fd, const void *buf, size_t n, int flags, const char *f desc = "The recipient is specified but the socket is already connected"; break; case EMSGSIZE: - desc = "Message is to large to be sent atomically as required by the socket type"; + desc = "Message is too large to be sent atomically as required by the socket type"; break; case ENETDOWN: desc = "All local network interfaces that can be used to reach the destination are down"; break; case ENETUNREACH: - desc = "No route to the network it present"; + desc = "No route to the network is present"; break; case ENOBUFS: desc = "Insufficient resource available in the system to perform the operation"; @@ -162,7 +162,7 @@ liberror_send_short(int fd, const void *buf, size_t n, int flags, size_t min, si } else { desc = "Sent message was of an unexpected size"; } - liberror_set_error(desc, "send", "liberror-libc", LIBERROR_LIBC_ERRROR_SHORT_WRITE); + liberror_set_error(desc, "send", "liberror-libc", LIBERROR_LIBC_ERROR_SHORT_WRITE); error = liberror_get_error(); error->details_type = LIBERROR_DETAILS_ONE_FILE; error->details.one_file.fd = fd; -- cgit v1.2.3-70-g09d2