diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-10-15 09:25:21 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2015-10-15 09:25:21 +0100 |
commit | 716550021eeda39c8afd5b6aa4fde18e6969679b (patch) | |
tree | 21c2d7c7181d6d7b79c8e6bc8d288c8a398b4ccf /client.c | |
parent | f199fb6a2b53c99fb92de3db5a7e03ac73fb0db4 (diff) | |
parent | f69e09a67eaecec96e53705d45c18a5f0639e308 (diff) | |
download | rtmux-716550021eeda39c8afd5b6aa4fde18e6969679b.tar.gz rtmux-716550021eeda39c8afd5b6aa4fde18e6969679b.tar.bz2 rtmux-716550021eeda39c8afd5b6aa4fde18e6969679b.zip |
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ retry: fatal("socket failed"); log_debug("trying connect"); - if (connect(fd, (struct sockaddr *) &sa, SUN_LEN(&sa)) == -1) { + if (connect(fd, (struct sockaddr *) &sa, sizeof(sa)) == -1) { log_debug("connect failed: %s", strerror(errno)); if (errno != ECONNREFUSED && errno != ENOENT) goto failed; |