aboutsummaryrefslogtreecommitdiff
path: root/src/tests/socketblock.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
committerMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
commit1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c (patch)
tree3ea239424e33edfc8d9b80aa6b923d944cd0bfa1 /src/tests/socketblock.cpp
parent801e7de1f85656746d832508baf4583907826420 (diff)
downloadlibbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.gz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.bz2
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.xz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.zip
The Bu::Ito thread class has changed the rules on the run function. It no
longer returns anything, that's fine, it's in a class, but it also is protected now. That doesn't really effect child classes much, they can make run public, but I reccomend protected to avoid confusion.
Diffstat (limited to 'src/tests/socketblock.cpp')
-rw-r--r--src/tests/socketblock.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/socketblock.cpp b/src/tests/socketblock.cpp
index 3d50aa0..a1ea18d 100644
--- a/src/tests/socketblock.cpp
+++ b/src/tests/socketblock.cpp
@@ -19,7 +19,7 @@ public:
19 { 19 {
20 } 20 }
21 21
22 virtual void *run() 22 virtual void run()
23 { 23 {
24 Bu::Socket c = s.accept( 45, 0 ); 24 Bu::Socket c = s.accept( 45, 0 );
25 printf("TstServer: Accetped connection.\n"); fflush( stdout ); 25 printf("TstServer: Accetped connection.\n"); fflush( stdout );
@@ -33,8 +33,6 @@ public:
33 33
34 printf("TstServer: Closing connection...\n"); fflush( stdout ); 34 printf("TstServer: Closing connection...\n"); fflush( stdout );
35 c.close(); 35 c.close();
36
37 return NULL;
38 } 36 }
39 37
40 Bu::ServerSocket s; 38 Bu::ServerSocket s;