Changeset 23286 for titan/titan/skinconfig.h
- Timestamp:
- 09/06/13 14:31:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinconfig.h
r16367 r23286 69 69 struct clist* addskinconfigint(char *key, int value) 70 70 { 71 debug(1000, "in");72 71 char* fileline = NULL; 73 72 struct clist* ret = NULL; … … 77 76 78 77 free(fileline); 79 debug(1000, "out");80 78 return ret; 81 79 } … … 83 81 int readskinconfig(const char *filename, struct clist** tmpskinconfig) 84 82 { 85 debug(1000, "in");86 83 FILE *fd = NULL; 87 84 char *fileline = NULL, *pos; … … 124 121 fclose(fd); 125 122 free(fileline); 126 debug(1000, "out");127 123 return 0; 128 124 } … … 176 172 int reloadskinconfig(char *filename) 177 173 { 178 debug(1000, "in");179 174 int ret = 0; 180 175 … … 183 178 if(ret != 0) 184 179 { 185 debug(1000, "out ->readskinconfig fail");180 err("readskinconfig fail"); 186 181 return 1; 187 182 } 188 183 189 debug(1000, "out");190 184 return 0; 191 185 }
Note: See TracChangeset
for help on using the changeset viewer.