| commit | 5f195f8c01cfc077a205b910e48f375c89574071 | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@winehq.org> | Tue Feb 20 23:45:07 2001 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Tue Feb 20 23:45:07 2001 +0000 |
| tree | 506ffaf6ed3bd0e8b8d5e9381d90888f220ef10e | |
| parent | cf354d8c1de28fce3b0f343ceb2db5dc56caf775 [diff] [blame] |
Small server protocol cleanups.
diff --git a/server/request.h b/server/request.h index 6eeadea..9b8547d 100644 --- a/server/request.h +++ b/server/request.h
@@ -52,7 +52,7 @@ /* get the request vararg data */ inline static void *get_req_data( const void *req ) { - return ((union generic_request *)req + 1); + return (char *)current->buffer + ((struct request_header *)req)->var_offset; } /* get the request vararg size */