Commit 51dba600 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Windows: don't display a dialog when crash upload fails

Similar philosophy as 45b0e164Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6766a890
......@@ -252,10 +252,6 @@ static void check_crashdump(void)
}
else
{
MessageBox( NULL, L"There was an error while connecting to " \
"the FTP server. "\
"Thanks a lot for the help.",
L"Report sending failed", MB_OK);
fprintf(stderr,"Can't connect to FTP server 0x%08lu\n",
(unsigned long)GetLastError());
}
......@@ -263,9 +259,8 @@ static void check_crashdump(void)
}
else
{
MessageBox( NULL, L"There was an error while connecting to the Internet.\n"\
"Thanks a lot for the help anyway.",
L"Report sending failed", MB_OK);
fprintf(stderr,"There was an error while connecting to the Internet 0x%08lu\n",
(unsigned long)GetLastError());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment