~deejay1/geoclue/master

Viewing all changes in revision 635.

  • Committer: Zeeshan Ali
  • Author(s): Valentin Blot
  • Date: 2017-06-09 10:22:09 UTC
  • Revision ID: git-v1:55364fc27aa01b4560853f209ce9560bb10c306b
location: Correct value of TIME_DIFF_THRESHOLD

Commit d3893e6fac09064682e880c7972f2fcf82a6fb87 introduced a constant
TIME_DIFF_THRESHOLD with value 60. In the summary of the commit this is said to
be 60s, however it is compared to the output of g_date_time_difference, which
is in microseconds. Therefore, if we want the threshold to correspond to 1
minute, TIME_DIFF_THRESHOLD should have value 60000000.

https://bugs.freedesktop.org/show_bug.cgi?id=101357

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: