Skip to content

Commit

Permalink
query: subscribe: Set default on for preserveSID option
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
  • Loading branch information
cosmo0920 committed Jul 29, 2024
1 parent a0b3608 commit eef4e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/winevt/winevt_query.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ rb_winevt_query_initialize(VALUE argc, VALUE *argv, VALUE self)
winevtQuery->preserveQualifiers = FALSE;
winevtQuery->localeInfo = &default_locale;
winevtQuery->remoteHandle = hRemoteHandle;
winevtQuery->preserveSID = FALSE;
winevtQuery->preserveSID = TRUE;

ALLOCV_END(wchannelBuf);
ALLOCV_END(wpathBuf);
Expand Down
2 changes: 1 addition & 1 deletion ext/winevt/winevt_subscribe.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ rb_winevt_subscribe_initialize(VALUE self)
winevtSubscribe->readExistingEvents = TRUE;
winevtSubscribe->preserveQualifiers = FALSE;
winevtSubscribe->localeInfo = &default_locale;
winevtSubscribe->preserveSID = FALSE;
winevtSubscribe->preserveSID = TRUE;

return Qnil;
}
Expand Down

0 comments on commit eef4e49

Please sign in to comment.