Skip to content

Commit ffce486

Browse files
jpnurmiclaude
andcommitted
fix(options): normalize http_retry with !! to match other boolean setters
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent da9961c commit ffce486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry_options.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ sentry_options_set_handler_strategy(
832832
void
833833
sentry_options_set_http_retry(sentry_options_t *opts, int enabled)
834834
{
835-
opts->http_retry = enabled;
835+
opts->http_retry = !!enabled;
836836
}
837837

838838
int

0 commit comments

Comments
 (0)