mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-22 15:30:09 +00:00
Display name of (remote) host in error message
This commit is contained in:
parent
43744cb372
commit
d275589ca1
@ -43,7 +43,7 @@ BOOL SendCommand(const char *hostname, const Command& command)
|
||||
|
||||
// Connect
|
||||
if (connect(fd, (struct sockaddr *)&server, sizeof(struct sockaddr_in)) < 0) {
|
||||
fprintf(stderr, "Error : Can't connect to rascsi process\n");
|
||||
fprintf(stderr, "Error : Can't connect to rascsi process on host '%s'\n", hostname);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user