diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 17:35:42 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-14 21:01:16 +0100 |
commit | ffae50f019f47483c39e4c40b0dddaf92b60e123 (patch) | |
tree | e0f228243c9cf6699091ec02e5f1fad023ad7cef /crashrep | |
parent | 3f3b9cecfb6e04a1ef382f7c4c5a074fb9b4c8fb (diff) |
Use format string on printf()
Diffstat (limited to 'crashrep')
-rw-r--r-- | crashrep/source/unx/main.cxx | 4 |
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 ) ); } |