Convert spaces to tabs.
This commit is contained in:
parent
d5d22aceb5
commit
b6b78ad157
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
#include "common/Socket.h"
|
||||
|
||||
#if defined(_MACOSX) && !defined(SOCK_CLOEXEC)
|
||||
#define SOCK_CLOEXEC 0
|
||||
#define SOCK_CLOEXEC 0
|
||||
#endif
|
||||
|
||||
class ConnectionListener::PrivateData {
|
||||
|
@ -58,7 +58,7 @@ void ConnectionListener::run() {
|
|||
}
|
||||
#if defined(_MACOSX)
|
||||
int op = fcntl(serverSocket, F_GETFD);
|
||||
fcntl(serverSocket, F_SETFD, op | FD_CLOEXEC); // OS X doesn't support SOCK_CLOEXEC yet
|
||||
fcntl(serverSocket, F_SETFD, op | FD_CLOEXEC); // OS X doesn't support SOCK_CLOEXEC yet
|
||||
#endif
|
||||
name.sun_family = AF_LOCAL;
|
||||
memset(name.sun_path, '\0', sizeof(name.sun_path));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue