Skip to content

Commit

Permalink
campaignd: Print the destination IP in the send_error() call
Browse files Browse the repository at this point in the history
  • Loading branch information
irydacea committed Jun 25, 2014
1 parent 0982d9d commit 6c5e9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/campaign_server/campaign_server.cpp
Expand Up @@ -238,7 +238,7 @@ void server::send_error(const std::string& msg, network::connection sock)
{
config cfg;
cfg.add_child("error")["message"] = msg;
LOG_CS << "ERROR: " << msg << '\n';
LOG_CS << "ERROR [" << network::ip_address(sock) << "]: " << msg << '\n';
network::send_data(cfg, sock);
}

Expand Down

0 comments on commit 6c5e9e3

Please sign in to comment.