wok view frogatto/stuff/patches/server.cpp-1.3.1 @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (16 months ago) |
parents | |
children |
line source
1 --- server.cpp.orig 2019-06-28 17:48:43.024758899 +0100
2 +++ server.cpp 2019-06-28 17:47:35.522368962 +0100
3 @@ -174,7 +174,7 @@ private:
5 void handle_udp_receive(udp_endpoint_ptr endpoint, const boost::system::error_code& error, size_t len)
6 {
7 - fprintf(stderr, "RECEIVED UDP PACKET: %lu\n", len);
8 + fprintf(stderr, "RECEIVED UDP PACKET: %u\n", len);
9 if(len >= 5) {
10 uint32_t id;
11 memcpy(&id, &udp_buf_[1], 4);