From 47848853f69c04f416cae48aa781d957064bb318 Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Sun, 31 Jul 2011 21:15:26 -0300 Subject: [PATCH] Missing header files and identation --- src/icmp/icmppinger.cpp | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/icmp/icmppinger.cpp b/src/icmp/icmppinger.cpp index 9a1d575..6440660 100644 --- a/src/icmp/icmppinger.cpp +++ b/src/icmp/icmppinger.cpp @@ -6,6 +6,9 @@ // http://www.boost.org/LICENSE_1_0.txt) #include "icmp/icmppinger.h" +#include +#include + #include #include @@ -63,7 +66,7 @@ IcmpPinger::IcmpPinger( !select_source_network_interface( source_network_interface ) ) { GlobalLogger.error() << "Error: could not bind the socket " - "with the local interface." << ::strerror( errno ) << endl; + << "with the local interface. " << ::strerror( errno ) << endl; } // Create "unique" identifier @@ -379,7 +382,7 @@ bool IcmpPinger::select_source_network_interface( if ( ret == -1 ) { GlobalLogger.error() << "Error: could not bind pinger to interface " - << source_network_interface << endl; + << source_network_interface << endl; return false; } -- 1.7.1