Added real error message for failed outgoing IP connections
This commit is contained in:
parent
318ff56d24
commit
17fda57677
@ -6,6 +6,9 @@ v0.83.13 13-Feb-2006
|
||||
Writes LINES and COLUMNS environment into data.msg so that the
|
||||
joe editor can use that.
|
||||
|
||||
mbcico:
|
||||
Added real error message for failed outgoing IP connections.
|
||||
|
||||
|
||||
v0.83.12 06-Feb-2006 - 13-Feb-2006
|
||||
|
||||
|
@ -155,7 +155,7 @@ int opentcp(char *name)
|
||||
clearerr(stdin);
|
||||
clearerr(stdout);
|
||||
if (connect(fd,(struct sockaddr *)&server,sizeof(server)) == -1) {
|
||||
Syslog('+', "Cannot connect %s",inet_ntoa(server.sin_addr));
|
||||
Syslog('+', "$Cannot connect %s",inet_ntoa(server.sin_addr));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user