File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -40,27 +40,7 @@ char Multi_update_error_string[512];
4040// initialize the http xfer of the version info file, return 1 on success
4141int multi_update_http_init ()
4242{
43- char url_file[512 ] = " " ;
44- char local_file[512 ] = " " ;
45-
46- // url
47- strcpy_s (url_file, VERSION_URL);
48-
49- // local file
50- strcpy_s (local_file, Cfile_root_dir);
51- strcat_s (local_file, DIR_SEPARATOR_STR);
52- strcat_s (local_file, VERSION_LOC_FNAME);
53-
54- // new file
55- Multi_update_get = new InetGetFile (url_file, local_file);
56- if (Multi_update_get == NULL ){
57- // error string
58- strcpy_s (Multi_update_error_string, XSTR (" Could not get data from website" , 977 ));
59-
60- return 0 ;
61- }
62-
63- return 1 ;
43+ return 0 ;
6444}
6545
6646// do frame for the popup. returns 0 if not done yet, 1 if succeeded, 2 on error
You can’t perform that action at this time.
0 commit comments