Skip to content
  1. Jan 29, 2008
  2. Jan 28, 2008
  3. Jan 23, 2008
  4. Jan 17, 2008
  5. Jan 12, 2008
  6. Jan 11, 2008
  7. Jan 05, 2008
  8. Jan 02, 2008
  9. Jan 01, 2008
  10. Dec 31, 2007
  11. Dec 29, 2007
  12. Dec 28, 2007
  13. Dec 24, 2007
  14. Dec 21, 2007
  15. Dec 14, 2007
  16. Dec 13, 2007
  17. Dec 12, 2007
  18. Dec 11, 2007
  19. Dec 10, 2007
  20. Dec 09, 2007
  21. Dec 08, 2007
  22. Dec 03, 2007
  23. Dec 01, 2007
    • Ruediger Pluem's avatar
      - when using "-l" reduce two consecutive calls to apr_time_now() to one. · a85229ed
      Ruediger Pluem authored
        This will not change the logic if no "-l" gets used, and it will spare
        one call to apr_time_now() in case "-l" gets used and more important
        it gives the code better atomicity, because in fact between the two calls
        there is a slight change of jumping oder the DST boundary
      
      - for historic reasons the same code block is used two times with a
        slightly different way of transforming apr_time_t to int
        (once division by APR_USEC_PER_SEC, once call to apr_time_sec()),
        so let's unify it.
      
      - finally move the block into a function, because it gets used already
        two times.
      
      PR: 44004
      Submitted by: Rainer Jung <rainer.jung kippdata.de>
      Reviewed by: rpluem
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@600154 13f79535-47bb-0310-9956-ffa450edef68
      a85229ed