aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-12 13:47:51 +1000
committeronefang2019-12-12 13:47:51 +1000
commit1ed9be783962349091d9226838f042a5e5c48a40 (patch)
treed2ef3d4c165a24b5945484d75ebae17cb7e77013
parentRemove some no longer needed commented out code. (diff)
downloadapt-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.lua2
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
409end 411end
410 412