From: Guilherme Maciel Ferreira Date: Mon, 1 Aug 2011 00:15:26 +0000 (-0300) Subject: Missing header files and identation X-Git-Tag: v1.1^2~39 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=47848853f69c04f416cae48aa781d957064bb318;p=pingcheck Missing header files and identation --- 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; }