Skip to content

Commit

Permalink
Correctly Write Out Version (microsoft#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks authored Jun 1, 2021
1 parent 019d5f1 commit c4ae9da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -964,9 +964,9 @@ QuicLibraryGetGlobalParam(

*BufferLength = 4 * sizeof(uint32_t);
((uint32_t*)Buffer)[0] = VER_MAJOR;
((uint32_t*)Buffer)[0] = VER_MINOR;
((uint32_t*)Buffer)[0] = VER_PATCH;
((uint32_t*)Buffer)[0] = VER_BUILD_ID;
((uint32_t*)Buffer)[1] = VER_MINOR;
((uint32_t*)Buffer)[2] = VER_PATCH;
((uint32_t*)Buffer)[3] = VER_BUILD_ID;

Status = QUIC_STATUS_SUCCESS;
break;
Expand Down

0 comments on commit c4ae9da

Please sign in to comment.