From: Perttu Ahola Date: Mon, 7 Nov 2011 09:15:43 +0000 (+0200) Subject: Add new Connection test in test.cpp in case needed in the future (commented out)... X-Git-Tag: 0.3.1~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fa72e65b59364d204db8bce59989673034e59988;p=oweals%2Fminetest.git Add new Connection test in test.cpp in case needed in the future (commented out), improve comments in test.cpp a bit --- diff --git a/src/test.cpp b/src/test.cpp index a911f0cb1..db8db4ecc 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -929,7 +929,10 @@ struct TestConnection catch(con::NoIncomingDataException &e) { } - +#if 1 + /* + Simple send-receive test + */ { /*u8 data[] = "Hello World!"; u32 datasize = sizeof(data);*/ @@ -950,11 +953,12 @@ struct TestConnection <