Commit c5aec020 authored by Robert Ricci's avatar Robert Ricci

Fix a bug with accept() sockets that was causing 'Connect' to get

printed twice.
parent 9a613dd1
......@@ -1296,7 +1296,6 @@ int accept(int s, struct sockaddr * addr,
// XXX Accessors
monitorFDs[s].connected = 1;
monitorFDs[s].local_port = ntohs(((struct sockaddr_in*)addr)->sin_port);
printlog(LOG_CONNECTED,rv);
printlog(LOG_LOCALPORT,rv,"%i",monitorFDs[s].local_port);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment