wok annotate frogatto/stuff/patches/server.cpp-1.3.1 @ rev 21922
Add get-pcem-roms (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 18:31:33 2019 +0200 (2019-10-05) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@21765 | 1 --- server.cpp.orig 2019-06-28 17:48:43.024758899 +0100 |
Hans-G?nter@21765 | 2 +++ server.cpp 2019-06-28 17:47:35.522368962 +0100 |
Hans-G?nter@21765 | 3 @@ -174,7 +174,7 @@ private: |
Hans-G?nter@21765 | 4 |
Hans-G?nter@21765 | 5 void handle_udp_receive(udp_endpoint_ptr endpoint, const boost::system::error_code& error, size_t len) |
Hans-G?nter@21765 | 6 { |
Hans-G?nter@21765 | 7 - fprintf(stderr, "RECEIVED UDP PACKET: %lu\n", len); |
Hans-G?nter@21765 | 8 + fprintf(stderr, "RECEIVED UDP PACKET: %u\n", len); |
Hans-G?nter@21765 | 9 if(len >= 5) { |
Hans-G?nter@21765 | 10 uint32_t id; |
Hans-G?nter@21765 | 11 memcpy(&id, &udp_buf_[1], 4); |