Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
scaprile committed Jan 29, 2025
1 parent 9902289 commit ce1a70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mongoose.c
Original file line number Diff line number Diff line change
Expand Up @@ -10889,7 +10889,7 @@ static int mg_tls_client_recv_hello(struct mg_connection *c) {
return 0;
}
fail:
mg_error(c, "bad client hello");
mg_error(c, "bad server hello");
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/tls_builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ static int mg_tls_client_recv_hello(struct mg_connection *c) {
return 0;
}
fail:
mg_error(c, "bad client hello");
mg_error(c, "bad server hello");
return -1;
}

Expand Down

0 comments on commit ce1a70e

Please sign in to comment.