trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: TS-3562 Make clang-analyzer happier.
Date Mon, 11 May 2015 22:20:12 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master dcb5baa08 -> 21cfb7bd1


TS-3562 Make clang-analyzer happier.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/21cfb7bd
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/21cfb7bd
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/21cfb7bd

Branch: refs/heads/master
Commit: 21cfb7bd194db6c5d80d39dc703d5339bdd97d71
Parents: dcb5baa
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Mon May 11 16:18:52 2015 -0600
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Mon May 11 16:18:52 2015 -0600

----------------------------------------------------------------------
 plugins/experimental/background_fetch/configs.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/21cfb7bd/plugins/experimental/background_fetch/configs.cc
----------------------------------------------------------------------
diff --git a/plugins/experimental/background_fetch/configs.cc b/plugins/experimental/background_fetch/configs.cc
index 7e1b033..0e77d66 100644
--- a/plugins/experimental/background_fetch/configs.cc
+++ b/plugins/experimental/background_fetch/configs.cc
@@ -100,7 +100,7 @@ BgFetchConfig::readConfig(const char *config_file)
             }
             BgFetchRule *r = new BgFetchRule(exclude, cfg_name, cfg_value);
 
-            if (NULL == _rules) {
+            if (NULL == cur) {
               _rules = r;
             } else {
               cur->chain(r);


Mime
View raw message