aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-06-14 15:05:32 +0200
committerGitHub <noreply@github.com>2017-06-14 15:05:32 +0200
commit3c443a11e8b24f41d997b5b20d9b53ceef3207d2 (patch)
tree1639d02f1b792513129ddaa45c45aacf0a9969d2
parentfbec6b14d43b3885014393d928daa3ef2bbb1e8e (diff)
parent7ebca77f72ecf6f7cb05d646c9c707da98e2b4f2 (diff)
Merge pull request #230 from a13xp0p0v/hub-http-fix
syz-hub: fix copy-paste error in httpSummary()
-rw-r--r--AUTHORS1
-rw-r--r--CONTRIBUTORS1
-rw-r--r--syz-hub/http.go2
3 files changed, 3 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 00a8e2f2d..add6fe11f 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -10,3 +10,4 @@ Baozeng Ding
Lorenzo Stoakes
Jeremy Huang
Shuai Bai
+Alexander Popov
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 46bbcaa30..0fbd48865 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -15,3 +15,4 @@ Baozeng Ding
Lorenzo Stoakes
Jeremy Huang
Shuai Bai
+Alexander Popov
diff --git a/syz-hub/http.go b/syz-hub/http.go
index 1dde8e98f..3ee6ff686 100644
--- a/syz-hub/http.go
+++ b/syz-hub/http.go
@@ -41,7 +41,7 @@ func (hub *Hub) httpSummary(w http.ResponseWriter, r *http.Request) {
}
for name, mgr := range hub.st.Managers {
total.Added += mgr.Added
- total.Deleted += mgr.Added
+ total.Deleted += mgr.Deleted
total.New += mgr.New
data.Managers = append(data.Managers, UIManager{
Name: name,