From b08c4383cc0acb3decbd1ed796fa6c662dfd9a3c Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Fri, 22 Jul 2011 00:56:13 +0000 Subject: [PATCH] Replaced single use of std::cerr with fprintf in ipxconfig, reduced binary size by ~400kB. Yay C++! --- src/ipxconfig.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ipxconfig.cpp b/src/ipxconfig.cpp index ce4e05e..3061894 100644 --- a/src/ipxconfig.cpp +++ b/src/ipxconfig.cpp @@ -15,12 +15,10 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include #include #include #include #include -#include #include #include #include @@ -410,7 +408,7 @@ static void addr_input_dialog(const char *desc, char *dest, int size) { NULL, v )) { - std::cerr << "Failed to create dialog: " << w32_errmsg(GetLastError()) << std::endl; + fprintf(stderr, "Failed to create dialog: %s\r\n", w32_errmsg(GetLastError()).c_str()); } }