Skip to content

Commit f3f2aba

Browse files
committed
sentry plugin: fix return value check
1 parent 45a08fc commit f3f2aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/sentry/sentry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ static void on_init_native_sdk(
146146

147147
#ifdef HAVE_BUNDLED_CRASHPAD_HANDLER
148148
ok = sentry_configure_bundled_crashpad_handler(options);
149-
if (!ok) {
149+
if (ok != 0) {
150150
platch_respond_error_std(responsehandle, "1", "Failed to configure bundled Crashpad handler.", &STDNULL);
151151
return;
152152
}

0 commit comments

Comments
 (0)