Skip to content

Commit 01614c1

Browse files
committed
Fix SL6 compilation issues.
1 parent 16202ef commit 01614c1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

spec/xrootd-cmstfc.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Name: xrootd-cmstfc
3-
Version: 1.5
3+
Version: 1.5.1
44
Release: 1
55
Summary: CMS TFC plugin for xrootd
66

@@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
4848
%{_includedir}/XrdCmsTfc.hh
4949

5050
%changelog
51+
* Mon Nov 12 2012 Brian Bockelman - 1.5.1-1
52+
- Fix SL6 compilation issues.
53+
5154
* Mon Oct 22 2012 Brian Bockelman <[email protected]> - 1.5-1
5255
- Switch to cmake.
5356
- Rebuild against Xrootd 3.3.

src/XrdCmsTfc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ XrdCmsTfc::TrivialFileCatalog::parseRule (DOMNode *ruleNode,
124124

125125
char * protocol
126126
= _toChar (ruleElement->getAttribute (_toDOMS ("protocol")));
127-
char * destinationMatchRegexp
127+
const char * destinationMatchRegexp
128128
= _toChar (ruleElement->getAttribute (_toDOMS ("destination-match")));
129129

130130
if (strlen(destinationMatchRegexp) == 0)

0 commit comments

Comments
 (0)