[or-cvs] [metrics-web/master] Fix generation of GetTor graphs with missing values.

karsten at torproject.org karsten at torproject.org
Wed Oct 6 13:14:56 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 6 Oct 2010 15:14:14 +0200
Subject: Fix generation of GetTor graphs with missing values.
Commit: a9ad7bfea4015b830c75e47f2e3d5fd807fe8972

---
 rserve/graphs.R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rserve/graphs.R b/rserve/graphs.R
index 3d89a4e..d94553a 100644
--- a/rserve/graphs.R
+++ b/rserve/graphs.R
@@ -292,7 +292,7 @@ plot_gettor <- function(start, end, bundle, path) {
   if (length(missing) > 0)
     downloads <- rbind(downloads,
         data.frame(date = as.Date(missing, origin = "1970-01-01"),
-        users = NA))
+        downloads = NA))
   title <- ifelse(bundle == "all",
     "Total packages requested from GetTor per day\n",
     paste("Tor Browser Bundles (", bundle,
-- 
1.7.1



More information about the tor-commits mailing list