Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
diff --git a/server/change.c b/server/change.c
index 4dd0dcb..1162b6a 100644
--- a/server/change.c
+++ b/server/change.c
@@ -72,11 +72,11 @@
{
struct change *change;
- req->handle = 0;
+ reply->handle = 0;
if ((change = create_change_notification( req->subtree, req->filter )))
{
- req->handle = alloc_handle( current->process, change,
- STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE, 0 );
+ reply->handle = alloc_handle( current->process, change,
+ STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE, 0 );
release_object( change );
}
}