Added server protocol version check.
diff --git a/server/thread.c b/server/thread.c
index 14d7ea6..8f30280 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -104,6 +104,7 @@
req->pid = get_process_id( thread->process );
req->tid = get_thread_id( thread );
req->boot = (thread == booting_thread);
+ req->version = SERVER_PROTOCOL_VERSION;
set_reply_fd( thread, fd );
send_reply( thread );
return 1;
diff --git a/server/trace.c b/server/trace.c
index 2bdecde..eaf4793 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -282,7 +282,8 @@
{
fprintf( stderr, " pid=%p,", req->pid );
fprintf( stderr, " tid=%p,", req->tid );
- fprintf( stderr, " boot=%d", req->boot );
+ fprintf( stderr, " boot=%d,", req->boot );
+ fprintf( stderr, " version=%d", req->version );
}
static void dump_terminate_process_request( const struct terminate_process_request *req )