diff options
Diffstat (limited to 'docs/tutorials/006/page05.html')
-rw-r--r-- | docs/tutorials/006/page05.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/006/page05.html b/docs/tutorials/006/page05.html index aa323cdc952..083f6ef0dcb 100644 --- a/docs/tutorials/006/page05.html +++ b/docs/tutorials/006/page05.html @@ -84,7 +84,7 @@ void The Client_Acceptor instance pointer is cast to a void* and given to us here. We'll use that to avoid some global data... */</font> int -<font color=#008888>Client_Handler::open</font> (void *void_acceptor) +<font color=#008888>Client_Handler::open</font> (void *acceptor) { <font color=red>/* We need this to store the address of the client that we are now connected to. We'll use it later to display a debug message. */</font> @@ -111,7 +111,7 @@ int without compiler warnings be very sure of what you're doing when you do this kind of thing. That's where the new-style cast operators can save you. */</font> - Client_Acceptor *acceptor = (Client_Acceptor *) void_acceptor; + Client_Acceptor *acceptor = (Client_Acceptor *) acceptor; <font color=red>/* Our Client_Acceptor is constructed with a concurrency strategy. Here, we go back to it to find out what that strategy was. If |