Skip to content

Commit c9a697e

Browse files
committed
crashpad: adapt ensure_unique_path
1 parent a376af2 commit c9a697e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/backends/sentry_backend_crashpad.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,10 @@ ensure_unique_path(sentry_attachment_t *attachment)
680680
sentry_path_t *old_path = attachment->path;
681681
# ifdef SENTRY_PLATFORM_WINDOWS
682682
attachment->path = sentry__path_join_wstr(
683-
base_path, sentry__path_filename(attachment->path));
683+
base_path, sentry__path_filename(attachment->filename));
684684
# else
685685
attachment->path = sentry__path_join_str(
686-
base_path, sentry__path_filename(attachment->path));
686+
base_path, sentry__path_filename(attachment->filename));
687687
# endif
688688

689689
sentry__path_free(base_path);

0 commit comments

Comments
 (0)