Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Aug 29, 2024
1 parent c62a62b commit 0040602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/inc/msquic.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ typedef enum QUIC_EXECUTION_CONFIG_FLAGS {
QUIC_EXECUTION_CONFIG_FLAG_QTIP = 0x0001,
QUIC_EXECUTION_CONFIG_FLAG_RIO = 0x0002,
QUIC_EXECUTION_CONFIG_FLAG_XDP = 0x0004,
#endif
QUIC_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC = 0x0008,
#endif
} QUIC_EXECUTION_CONFIG_FLAGS;

DEFINE_ENUM_FLAG_OPERATORS(QUIC_EXECUTION_CONFIG_FLAGS)
Expand Down
2 changes: 1 addition & 1 deletion src/platform/platform_worker.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ CxPlatWorkersLazyStart(
goto Error;
}

BOOLEAN SetIdealProc = !(Config->Flags & QUIC_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC);
BOOLEAN SetIdealProc = !Config || !(Config->Flags & QUIC_EXECUTION_CONFIG_FLAG_NO_IDEAL_PROC);

CXPLAT_THREAD_CONFIG ThreadConfig = {
SetIdealProc ?
Expand Down

0 comments on commit 0040602

Please sign in to comment.