Changeset 704
- Timestamp:
- 02/18/08 10:26:22 (9 months ago)
- Files:
-
- trunk/server/memcached.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/server/memcached.c
r701 r704 2566 2566 /* time-sensitive callers can call it by hand with this, outside the normal ever-1-second timer */ 2567 2567 static void set_current_time(void) { 2568 current_time = (rel_time_t) (time(0) - stats.started); 2568 struct timeval timer; 2569 2570 gettimeofday(&timer, NULL); 2571 current_time = (rel_time_t) (timer.tv_sec - stats.started); 2569 2572 } 2570 2573
