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-3287 We are dinosaurs, no C99
Date Wed, 04 Feb 2015 00:22:13 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master a38da0149 -> bd14f6783


TS-3287 We are dinosaurs, no C99


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

Branch: refs/heads/master
Commit: bd14f6783a894716b261a240a8d3a262947281b1
Parents: a38da01
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Feb 3 17:21:48 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Feb 3 17:21:50 2015 -0700

----------------------------------------------------------------------
 plugins/experimental/url_sig/url_sig.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/bd14f678/plugins/experimental/url_sig/url_sig.c
----------------------------------------------------------------------
diff --git a/plugins/experimental/url_sig/url_sig.c b/plugins/experimental/url_sig/url_sig.c
index 0644fd3..f903814 100644
--- a/plugins/experimental/url_sig/url_sig.c
+++ b/plugins/experimental/url_sig/url_sig.c
@@ -69,6 +69,7 @@ TSRemapNewInstance(int argc, char *argv[], void **ih, char *errbuf, int
errbuf_s
 {
   char config_file[PATH_MAX];
   struct config *cfg;
+  unsigned i;
 
   cfg = TSmalloc(sizeof(struct config));
   memset(cfg, 0, sizeof(struct config));
@@ -182,10 +183,6 @@ TSRemapNewInstance(int argc, char *argv[], void **ih, char *errbuf, int
errbuf_s
 
   }
 
-  for (unsigned i = 0; i < MAX_KEY_NUM; i++) {
-    if (strlen(cfg->keys[i]) > 0)
-      TSDebug(PLUGIN_NAME, "shared secret key[%i] = %s\n", i, cfg->keys[i]);
-  }
   fclose(file);
 
   *ih = (void *) cfg;


Mime
View raw message