Return to client.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.76, 2013/11/13 20:43:36 | version 1.77, 2014/01/09 14:05:55 | ||
---|---|---|---|
|
|
||
/* Initialise the client socket and start the server. */ | /* Initialise the client socket and start the server. */ | ||
fd = client_connect(socket_path, cmdflags & CMD_STARTSERVER); | fd = client_connect(socket_path, cmdflags & CMD_STARTSERVER); | ||
if (fd == -1) { | if (fd == -1) { | ||
fprintf(stderr, "failed to connect to server\n"); | fprintf(stderr, "failed to connect to server: %s\n", | ||
strerror(errno)); | |||
return (1); | return (1); | ||
} | } | ||