- Timestamp:
- 05/05/11 21:34:35 (14 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common.c
r232 r251 361 361 362 362 363 void formatTime( const REGFI_NTTIME*nttime, char* output)363 void formatTime(REGFI_NTTIME nttime, char* output) 364 364 { 365 365 time_t tmp_time[1]; -
trunk/src/reglookup-recover.c
r233 r251 73 73 char* quoted_raw = ""; 74 74 75 formatTime( &nk->mtime, mtime);75 formatTime(nk->mtime, mtime); 76 76 77 77 /* XXX: Add command line option to choose output encoding */ -
trunk/src/reglookup.c
r249 r251 107 107 { 108 108 cur_key = regfi_iterator_cur_key(iter); 109 *tmp_time = regfi_nt2unix_time( &cur_key->mtime);109 *tmp_time = regfi_nt2unix_time(cur_key->mtime); 110 110 tmp_time_s = gmtime(tmp_time); 111 111 strftime(mtime, sizeof(mtime), "%Y-%m-%d %H:%M:%S", tmp_time_s); … … 304 304 const REGFI_CLASSNAME* classname; 305 305 306 formatTime( &key->mtime, mtime);306 formatTime(key->mtime, mtime); 307 307 308 308 if(print_security && (sk=regfi_fetch_sk(iter->f, key)))
Note: See TracChangeset
for help on using the changeset viewer.