Skip to content

Commit 58739b6

Browse files
committed
fix bug
1 parent 6a5087a commit 58739b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmap/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ export class OpMsgRequest {
576576
NumberUtils.setInt32LE(header, 4, this.requestId); // requestID
577577
NumberUtils.setInt32LE(header, 8, 0); // responseTo
578578
NumberUtils.setInt32LE(header, 12, OP_MSG); // opCode
579-
NumberUtils.setInt32LE(header, flags, 16); // flags
579+
NumberUtils.setInt32LE(header, 16, flags); // flags
580580
return buffers;
581581
}
582582

0 commit comments

Comments
 (0)