Skip to content

Commit

Permalink
Modify wording of message
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg authored Jul 30, 2024
1 parent 7dbef00 commit 3c570a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tcldcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1177,8 +1177,8 @@ static int setlisten(Tcl_Interp *irp, char *ip, char *portp, char *type, char *m
setsockname(&name, newip, port, 1);
i = open_address_listen(&name);
if (i < 0) {
snprintf(msg, sizeof msg, "Couldn't listen on port %d on the given "
"address '%s': %s. Please check that the port is not already in use",
snprintf(msg, sizeof msg, "Couldn't listen on port %d on %s: %s. "
"Please check that the port is not already in use",
realport, newip, strerror(errno));
Tcl_AppendResult(irp, msg, NULL);
return TCL_ERROR;
Expand Down

0 comments on commit 3c570a9

Please sign in to comment.