diff --git a/Connector_RAW/main.cpp b/Connector_RAW/main.cpp index b77fc5d3..5ef11a50 100644 --- a/Connector_RAW/main.cpp +++ b/Connector_RAW/main.cpp @@ -22,7 +22,7 @@ int main(int argc, char ** argv) { } //transport ~50kb at a time //this is a nice tradeoff between CPU usage and speed - char buffer[50000]; + const char buffer[50000] = {0}; while(std::cout.good() && S.read(buffer,50000)){std::cout.write(buffer,50000);} S.close(); return 0;