Skip to content
Snippets Groups Projects
Commit fa40c96f authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

bug #104316: Remove redundant RMC HOST configuration parameter

Fixed in the trunk ready for CASTOR 2.1.15.x release.
parent 1f741e79
Branches
Tags
No related merge requests found
......@@ -54,11 +54,9 @@ int send2rmc(
sin.sin_port = htons ((unsigned short)RMC_PORT);
serrno = 0;
}
if (host && *host)
if (host && *host) {
strcpy (rmchost, host);
else if ((p = getenv ("RMC_HOST")) || (p = getconfent ("RMC", "HOST", 0)))
strcpy (rmchost, p);
else {
} else {
gethostname (rmchost, CA_MAXHOSTNAMELEN+1);
serrno = 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment