Changeset 4652
- Timestamp:
- 01/30/11 09:41:50 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-gbox.c
r4625 r4652 242 242 struct gbox_data *gbox = cli->gbox; 243 243 struct timespec ts; 244 clock_gettime(CLOCK_REALTIME, &ts); 244 struct timeval tv; 245 gettimeofday(&tv, NULL); 246 ts.tv_sec = tv.tv_sec; 247 ts.tv_nsec = tv.tv_usec * 1000; 248 //clock_gettime(CLOCK_REALTIME, &ts); 245 249 ts.tv_sec += 5; 246 250
Note:
See TracChangeset
for help on using the changeset viewer.