diff options
author | axel <axel@liljencrantz.se> | 2006-01-10 00:44:18 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-10 00:44:18 +1000 |
commit | ae511451fe04ce9e8b6934eaf687c8cdf64780bf (patch) | |
tree | b1aeecc5c97f18f6c4f05fe20d3caa51191af5bf /fishd.c | |
parent | ce689e69d5e903f39a378c5a1747d530ef4f9147 (diff) |
Fix two issues on OS X, a non-compatible use of the expr command and a bad init of a socket for the universal variable daemon
darcs-hash:20060109144418-ac50b-c6232eae5b964f66d0638289291340aa66cd5983.gz
Diffstat (limited to 'fishd.c')
-rw-r--r-- | fishd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -174,8 +174,8 @@ static int get_socket() local.sun_family = AF_UNIX; strcpy( local.sun_path, sock_name ); - len = strlen( local.sun_path ) + sizeof( local.sun_family ); - + len = sizeof(local); + debug(1, L"Connect to socket at %s", sock_name); if( ( s = socket( AF_UNIX, SOCK_STREAM, 0 ) ) == -1 ) |