Changeset 613cc55
- Timestamp:
- 2008-01-24T22:22:46Z (17 years ago)
- Branches:
- master
- Children:
- b5c8a34
- Parents:
- a882d6c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
ra882d6c r613cc55 90 90 struct tm tm; 91 91 92 memset(&tm, 0, sizeof(struct tm)); 92 93 tm.tm_year = year - 1900; 93 94 tm.tm_mon = month - 1; … … 96 97 tm.tm_min = min; 97 98 tm.tm_sec = sec >= 0 ? sec : time(NULL) % 60; 99 98 100 return mktime(&tm); 99 101 } -
protocols/oscar/oscar.c
ra882d6c r613cc55 2273 2273 char date[30]; 2274 2274 struct tm tm; 2275 memset(&tm, 0, sizeof(struct tm)); 2275 2276 tm.tm_mday = (int)info->birthday; 2276 2277 tm.tm_mon = (int)info->birthmonth-1;
Note: See TracChangeset
for help on using the changeset viewer.