You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/08/30 18:20:22 UTC

[09/50] git commit: remove unused proxy_name from proxy/Main.cc

remove unused proxy_name from proxy/Main.cc


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

Branch: refs/heads/5.0.x
Commit: 2e8f0c3523df5c264a694f82bd1bcd26d116ae83
Parents: b5190ac
Author: James Peach <jp...@apache.org>
Authored: Wed Aug 21 16:36:06 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Wed Aug 21 16:36:06 2013 -0700

----------------------------------------------------------------------
 proxy/Main.cc | 4 ----
 proxy/Main.h  | 1 -
 2 files changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2e8f0c35/proxy/Main.cc
----------------------------------------------------------------------
diff --git a/proxy/Main.cc b/proxy/Main.cc
index bd3151e..4a32593 100644
--- a/proxy/Main.cc
+++ b/proxy/Main.cc
@@ -142,7 +142,6 @@ extern int cache_clustering_enabled;
 char cluster_host[MAXDNAME + 1] = DEFAULT_CLUSTER_HOST;
 
 //         = DEFAULT_CLUSTER_PORT_NUMBER;
-char proxy_name[MAXDNAME + 1] = "unknown";
 static char command_string[512] = "";
 int remote_management_flag = DEFAULT_REMOTE_MANAGEMENT_FLAG;
 
@@ -1461,9 +1460,6 @@ main(int /* argc ATS_UNUSED */, char **argv)
   if (!command_flag && initialize_store())
     ProcessFatal("unable to initialize storage, (Re)Configuration required\n");
 
-  // Read proxy name
-  TS_ReadConfigString(proxy_name, "proxy.config.proxy_name", 255);
-
   // Alter the frequecies at which the update threads will trigger
 #define SET_INTERVAL(scope, name, var) do { \
   RecInt tmpint; \

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2e8f0c35/proxy/Main.h
----------------------------------------------------------------------
diff --git a/proxy/Main.h b/proxy/Main.h
index 867ddb3..d2f67d1 100644
--- a/proxy/Main.h
+++ b/proxy/Main.h
@@ -53,7 +53,6 @@ extern int fds_limit;
 extern int debug_level;
 extern char cluster_host[MAXDNAME + 1];
 extern int cluster_port_number;
-extern char proxy_name[MAXDNAME + 1];
 
 extern int remote_management_flag;
 extern char management_directory[PATH_NAME_MAX + 1];