Removed Unix address information from Socket lib - useless
This commit is contained in:
parent
07aff5ad16
commit
5468623c8c
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ Socket::Connection Socket::Server::accept(bool nonblock){
|
||||||
if (addrinfo.sin6_family == AF_UNIX){
|
if (addrinfo.sin6_family == AF_UNIX){
|
||||||
#if DEBUG >= 4
|
#if DEBUG >= 4
|
||||||
tmp.remotehost = ((sockaddr_un*)&addrinfo)->sun_path;
|
tmp.remotehost = ((sockaddr_un*)&addrinfo)->sun_path;
|
||||||
fprintf(stderr,"Unix addr: %s\n", tmp.remotehost.c_str());
|
fprintf(stderr,"Unix socket, no address\n");
|
||||||
#endif
|
#endif
|
||||||
tmp.remotehost = "UNIX_SOCKET";
|
tmp.remotehost = "UNIX_SOCKET";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue