Changeset 5883
- Timestamp:
- 07/24/08 10:44:45 (2 months ago)
- Location:
- trunk/centstorage
- Files:
-
- 5 modified
-
ChangeLog (modified) (1 diff)
-
modules/recup_perf_datas/connection_SSL.c (modified) (1 diff)
-
src/Conf.c (modified) (1 diff)
-
src/log.c (modified) (2 diffs)
-
src/reloadConf.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/centstorage/ChangeLog
r5856 r5883 2 2 CentStorage ChangeLog 3 3 ######################### 4 5 ??? - 07/24/2008 6 ----------------- 7 * Correction of a little bug in the logger 4 8 5 9 ??? - 07/23/2008 -
trunk/centstorage/modules/recup_perf_datas/connection_SSL.c
r5848 r5883 81 81 tmp = (argssl_t *)arg; 82 82 83 printf("try creating the SSL connection\n");84 83 if (tmp->reload) 85 84 { -
trunk/centstorage/src/Conf.c
r5732 r5883 166 166 conf->logs->time = 24; 167 167 } 168 free(tmp); 168 if (tmp) 169 free(tmp); 169 170 break ; 170 171 } -
trunk/centstorage/src/log.c
r5649 r5883 157 157 || !unit && openedTime + (3600 * 24 * ti) < time(NULL)) 158 158 { 159 char date[32] ;159 char date[32], *tmp; 160 160 int i, j, count; 161 161 char *arch_log; … … 172 172 if (date[j - 1] != UNDERSCORE) 173 173 date[j++] = UNDERSCORE; 174 if (conf->logs->unit && count == 3) 175 tmp = &char_time[i] + 1; 174 176 } 175 177 else if (count == 1 || count == 2 || count == 4) 176 178 { 177 179 date[j] = char_time[i]; 180 ++j; 181 } 182 } 183 if (conf->logs->unit) 184 { 185 count = 0; 186 date[j++] = '_'; 187 for (i = 0; i < 9; ++i) 188 { 189 date[j] = tmp[i]; 190 if (date[j] == ':') 191 { 192 if (count == 0) 193 date[j] = 'h'; 194 else if (count == 1) 195 date[j] = 'm'; 196 } 197 else if (date[j] == ' ') 198 date[j] = 's'; 178 199 ++j; 179 200 } -
trunk/centstorage/src/reloadConf.c
r5856 r5883 200 200 201 201 reloadModules(saveConf); 202 202 203 203 /* this part is written to avoid some mmory leaks */ 204 204 if (conf->modules)
