Переглянути джерело

Remove output of "Hello world" for every sent json answer

Jonas Pflanzer 5 роки тому
батько
коміт
f120e33c05
1 змінених файлів з 1 додано та 3 видалено
  1. 1 3
      daemon/src/Server.cpp

+ 1 - 3
daemon/src/Server.cpp

@@ -123,9 +123,7 @@ void con_handler::handle_read_command(const boost::system::error_code &err, size
 }
 
 void con_handler::handle_write(const boost::system::error_code &err, size_t bytes_transferred) {
-	if (!err) {
-		std::cout << "Hello World!" << std::endl;
-	} else {
+	if (err) {
 		std::cerr << __PRETTY_FUNCTION__ << " error: " << err.message() << std::endl;
 		close_sock();
 	}