diff options
Diffstat (limited to 'mcop/unixserver.cc')
-rw-r--r-- | mcop/unixserver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcop/unixserver.cc b/mcop/unixserver.cc index acb3496..d70fe8e 100644 --- a/mcop/unixserver.cc +++ b/mcop/unixserver.cc @@ -98,7 +98,7 @@ bool UnixServer::initSocket(const string& serverID) xserverpath = socket_addr.sun_path; - if ( bind( theSocket, (struct sockaddr *) &socket_addr, + if ( ::bind( theSocket, (struct sockaddr *) &socket_addr, sizeof(struct sockaddr_un) ) < 0 ) { arts_warning("MCOP UnixServer: can't bind to file \"%s\"", |