git @ Cat's Eye Technologies linapple / a3e1144
Diff reduction T. Joseph Carter 7 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3535 // define time when cache ftp dir.listing must be refreshed
3636 #define RENEW_TIME 24*3600
3737
38 char * md5str (const char *input); // forward declaration of md5str func
38 char *
39 md5str (const char *input); // forward declaration of md5str func
3940
4041 TCHAR g_sFTPDirListing[512] = TEXT("cache/ftp."); // name for FTP-directory listing
4142 ////////////////////////////////////////////////////////////////////////////////////////
112113 font_print_centered(sx/2 ,5 * facy , ftp_dir, screen, 1.5 * facx, 1.3 * facy);
113114 if(ch) ftp_dir[NORMAL_LENGTH] = ch; //restore cut-off char
114115
115 font_print_centered(sx/2,20 * facy, "Connecting to FTP server... Please wait.", screen, 1 * facx, 1 * facy);
116 font_print_centered(sx/2,20 * facy,"Connecting to FTP server... Please wait.", screen, 1 * facx, 1 * facy);
116117 SDL_Flip(screen); // show the screen
117118
118119 bool OKI;
121122 OKI = false; // use this file
122123 }
123124 else {
124 OKI = ftp_get(ftp_dir, ftpdirpath); // get ftp dir listing
125 OKI = ftp_get(ftp_dir,ftpdirpath); // get ftp dir listing
125126 }
126127 #else
127128 // in WIN32 let's use constant caching? -- need to be redone using file.mtime