Changeset 37316
- Timestamp:
- 03/08/16 14:07:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r37216 r37316 7109 7109 char* tmpstr = NULL, *tmpstr1 = NULL, *tmpstr2 = NULL, *tmpstr3 = NULL, *path = NULL, *boxversion = NULL; 7110 7110 7111 if(file_exist("/etc/.beta")) 7112 path = ostrcat("/svn/image-beta/changelog.", NULL, 0, 0); 7113 7111 7114 if(mode == 0) 7112 7115 { … … 7124 7127 boxversion = string_tolower(readsys("/etc/model", 1)); 7125 7128 7126 // if(file_exist("/etc/.beta"))7127 path = ostrcat(path, "/svn/image-beta/changelog.", 1, 0);7128 // else7129 // path = ostrcat(path, "/svn/image/changelog.", 1, 0);7130 7131 7129 path = ostrcat(path, boxversion, 1, 0); 7132 7130 path = ostrcat(path, ".titan", 1, 0); 7133 7131 7134 //if(file_exist("/etc/.beta"))7132 if(file_exist("/etc/.beta")) 7135 7133 tmpstr1 = gethttp("beta.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0); 7136 //else7137 //tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);7134 else 7135 tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0); 7138 7136 7139 7137 tmpstr = readfromlinetoline(tmpstr1, 37, 537, 1); … … 7141 7139 else if(mode == 2) 7142 7140 { 7143 // if(file_exist("/etc/.beta"))7144 7141 #ifdef MIPSEL 7145 path = ostrcat(path, "/svn/image-beta/changelog.git.mipsel", 1, 0);7142 path = ostrcat(path, "git.mipsel", 1, 0); 7146 7143 #else 7147 path = ostrcat(path, "/svn/image-beta/changelog.git.sh4", 1, 0);7144 path = ostrcat(path, "git.sh4", 1, 0); 7148 7145 #endif 7149 // else 7150 // path = ostrcat(path, "/svn/image/changelog.git", 1, 0); 7151 7152 // if(file_exist("/etc/.beta")) 7146 7147 if(file_exist("/etc/.beta")) 7153 7148 tmpstr1 = gethttp("beta.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0); 7154 //else7155 //tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0);7149 else 7150 tmpstr1 = gethttp("atemio.dyndns.tv", path, 80, NULL, HTTPAUTH, 5000, NULL, 0); 7156 7151 7157 7152 tmpstr = readfromlinetoline(tmpstr1, 0, 500, 1);
Note: See TracChangeset
for help on using the changeset viewer.