Skip to content

Commit

Permalink
win32: only one dialog thanking the user
Browse files Browse the repository at this point in the history
Rephrased in a way that paranoid users don't believe it is
passive-aggresive...
  • Loading branch information
jbkempf committed Oct 10, 2016
1 parent 51dba60 commit 7f78843
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/winvlc.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,7 @@ static void check_crashdump(void)

if( FtpPutFile( ftp, mv_crashdump_path, remote_file,
FTP_TRANSFER_TYPE_BINARY, 0) )
MessageBox( NULL, L"Report sent correctly. Thanks a lot " \
"for the help.", L"Report sent", MB_OK);
fprintf(stderr, "Report sent correctly to FTP.\n");
else
fprintf(stderr,"Couldn't send report to FTP server\n");

Expand All @@ -262,6 +261,8 @@ static void check_crashdump(void)
fprintf(stderr,"There was an error while connecting to the Internet 0x%08lu\n",
(unsigned long)GetLastError());
}
MessageBox( NULL, L"Thanks a lot for helping improving VLC!",
L"VLC crash report" , MB_OK);
}

_wremove(mv_crashdump_path);
Expand Down

0 comments on commit 7f78843

Please sign in to comment.