Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
  • Loading branch information
flan committed Apr 8, 2021
1 parent c3e07b2 commit 672ea06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ pub fn serve(args:ArgMatches) -> BoxResult<()> {

let client_count = CLIENTS.fetch_add(1, Ordering::Relaxed) + 1;
if client_limit > 0 && client_count > client_limit {
log::warn!("client-limit {} reached; disconnecting {}...", client_limit, address.to_string());
log::warn!("client-limit ({}) reached; disconnecting {}...", client_limit, address.to_string());
stream.shutdown(Shutdown::Both).unwrap_or_default();
CLIENTS.fetch_sub(1, Ordering::Relaxed);
} else {
Expand Down

0 comments on commit 672ea06

Please sign in to comment.