Return to client.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.17, 2009/09/02 23:49:25 | version 1.18, 2009/09/20 14:58:12 | ||
---|---|---|---|
|
|
||
} | } | ||
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) | if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) == -1) | ||
fatal("socket"); | fatal("socket failed"); | ||
if (connect(fd, (struct sockaddr *) &sa, SUN_LEN(&sa)) == -1) { | if (connect(fd, (struct sockaddr *) &sa, SUN_LEN(&sa)) == -1) { | ||
if (errno == ECONNREFUSED) { | if (errno == ECONNREFUSED) { |