summaryrefslogtreecommitdiff
path: root/crashrep/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-13 17:35:42 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-14 21:01:16 +0100
commitffae50f019f47483c39e4c40b0dddaf92b60e123 (patch)
treee0f228243c9cf6699091ec02e5f1fad023ad7cef /crashrep/source
parent3f3b9cecfb6e04a1ef382f7c4c5a074fb9b4c8fb (diff)
Use format string on printf()
Diffstat (limited to 'crashrep/source')
-rw-r--r--crashrep/source/unx/main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index 7c7df75ec53e..f0e6630658c5 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -368,7 +368,7 @@ bool SendHTTPRequest(
if ( g_bDebugMode )
{
printf( "*** Sending HTTP request ***\n\n" );
- printf( buffer );
+ printf( "%s", buffer );
}
if ( SOCKET_ERROR != send( s, buffer, strlen(buffer), 0 ) )
@@ -405,7 +405,7 @@ bool SendHTTPRequest(
if ( g_bDebugMode )
do
{
- printf( buffer );
+ printf( "%s", buffer );
memset( buffer, 0, sizeof(buffer) );
} while ( 0 < recv( s, buffer, sizeof(buffer), 0 ) );
}