Skip to content

Commit

Permalink
Remove some logging that appears to be breaking the 'scons check' step.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jul 29, 2010
1 parent 6dea756 commit 1a410a3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions xorp/libxipc/xrl_pf_unix.cc
Expand Up @@ -25,7 +25,6 @@
#include "xrl_pf_unix.hh"
#include "libcomm/comm_api.h"
#include "sockutil.hh"
#include "libxorp/xlog.h"

const char* XrlPFUNIXListener::_protocol = "unix";

Expand All @@ -47,8 +46,6 @@ XrlPFUNIXListener::XrlPFUNIXListener(EventLoop& e, XrlDispatcher* xr)
_address_slash_port = path;
encode_address(_address_slash_port);

XLOG_INFO("Creating XlfPFUNIXListener: %p path: %s\n", this, path.c_str());

_eventloop.add_ioevent_cb(_sock, IOT_ACCEPT,
callback(dynamic_cast<XrlPFSTCPListener*>(this),
&XrlPFSTCPListener::connect_hook));
Expand Down Expand Up @@ -78,13 +75,7 @@ XrlPFUNIXListener::~XrlPFUNIXListener()
// sort this out.
string path = _address_slash_port;
decode_address(path);
if (unlink(path.c_str()) != 0) {
XLOG_ERROR("Failed to unlink path while destructing XrlPFUNIXListener: %p -:%s:-, error: %s\n",
this, path.c_str(), strerror(errno));
}
else {
XLOG_INFO("Destructing XlfPFUNIXListener: %p unlinked path: %s\n", this, path.c_str());
}
unlink(path.c_str());
}

const char*
Expand Down

0 comments on commit 1a410a3

Please sign in to comment.