Browse Source

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

Similar philosophy as 45b0e1644d

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
pull/50/head
Steve Lhomme 10 years ago
committed by Jean-Baptiste Kempf
parent
commit
51dba60000
  1. 9
      bin/winvlc.c

9
bin/winvlc.c

@ -252,10 +252,6 @@ static void check_crashdump(void)
} }
else 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", fprintf(stderr,"Can't connect to FTP server 0x%08lu\n",
(unsigned long)GetLastError()); (unsigned long)GetLastError());
} }
@ -263,9 +259,8 @@ static void check_crashdump(void)
} }
else else
{ {
MessageBox( NULL, L"There was an error while connecting to the Internet.\n"\ fprintf(stderr,"There was an error while connecting to the Internet 0x%08lu\n",
"Thanks a lot for the help anyway.", (unsigned long)GetLastError());
L"Report sending failed", MB_OK);
} }
} }

Loading…
Cancel
Save