[Varnish] #630: helpers to convert varnish time into struct timespec/timeval

Varnish varnish-bugs at projects.linpro.no
Wed Feb 17 12:34:11 CET 2010


#630: helpers to convert varnish time into struct timespec/timeval
-------------------------+--------------------------------------------------
 Reporter:  slink        |        Owner:  phk    
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  varnishd     |      Version:  2.0    
 Severity:  normal       |   Resolution:  invalid
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by slink):

 Oh, sure you can do this in two lines of code wherever you need it. I just
 thought it would be a good idea to have helper functions and an
 appropriate test in order not to introduce conversion errors.

 But you're absolutely right that using modf was over the top.

-- 
Ticket URL: <http://varnish-cache.org/ticket/630#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list