Skip to content

Commit

Permalink
Merge pull request #13 from ManManson/tcp_send_warn_typo
Browse files Browse the repository at this point in the history
tcp: fix a typo for warning in `tcp_send()` function
  • Loading branch information
paullouisageneau committed May 13, 2024
2 parents 764ead1 + 387b80a commit 066aab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int tcp_send(socket_t sock, const char *data, size_t size, timestamp_t end_times
if (sockerrno == SEAGAIN || sockerrno == SEWOULDBLOCK)
continue;

PLUM_LOG_WARN("TCP recv failed, errno=%d", sockerrno);
PLUM_LOG_WARN("TCP send failed, errno=%d", sockerrno);
return -1;
}

Expand Down

0 comments on commit 066aab0

Please sign in to comment.