summaryrefslogtreecommitdiff
path: root/open-vm-tools/lib/hgfsServer/hgfsServer.c
diff options
context:
space:
mode:
Diffstat (limited to 'open-vm-tools/lib/hgfsServer/hgfsServer.c')
-rw-r--r--open-vm-tools/lib/hgfsServer/hgfsServer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/open-vm-tools/lib/hgfsServer/hgfsServer.c b/open-vm-tools/lib/hgfsServer/hgfsServer.c
index c31f03cf..b3dc1cfa 100644
--- a/open-vm-tools/lib/hgfsServer/hgfsServer.c
+++ b/open-vm-tools/lib/hgfsServer/hgfsServer.c
@@ -5790,7 +5790,7 @@ HgfsAllocInitReply(HgfsPacket *packet, // IN/OUT: Hgfs Packet
void *replyHeader;
void *replyData;
- if (HGFS_V4_LEGACY_OPCODE == request->op) {
+ if (HGFS_OP_NEW_HEADER == request->op) {
headerSize = sizeof(HgfsHeader);
} else if (request->op < HGFS_OP_CREATE_SESSION_V4 &&
request->op > HGFS_OP_RENAME_V2) {