diff options
author | onefang | 2019-12-12 13:47:51 +1000 |
---|---|---|
committer | onefang | 2019-12-12 13:47:51 +1000 |
commit | 1ed9be783962349091d9226838f042a5e5c48a40 (patch) | |
tree | d2ef3d4c165a24b5945484d75ebae17cb7e77013 | |
parent | Remove some no longer needed commented out code. (diff) | |
download | apt-panopticon-1ed9be783962349091d9226838f042a5e5c48a40.zip apt-panopticon-1ed9be783962349091d9226838f042a5e5c48a40.tar.gz apt-panopticon-1ed9be783962349091d9226838f042a5e5c48a40.tar.bz2 apt-panopticon-1ed9be783962349091d9226838f042a5e5c48a40.tar.xz |
Add timeout and speed bits to the data padding function.
-rw-r--r-- | apt-panopticommon.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 2911178..f207746 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua | |||
@@ -405,6 +405,8 @@ APT.fill = function(results) | |||
405 | if nil == tests.URLSanity then tests.URLSanity = {errors = 0; warnings = 0} end | 405 | if nil == tests.URLSanity then tests.URLSanity = {errors = 0; warnings = 0} end |
406 | results[v] = tests | 406 | results[v] = tests |
407 | end | 407 | end |
408 | if nil == results.timeout then results.timeout = false end | ||
409 | if nil == results.speed then results.speed = {min = 0; max = 0} end | ||
408 | return results | 410 | return results |
409 | end | 411 | end |
410 | 412 | ||