Skip to content

Commit

Permalink
Merge pull request #450 from ffurano/xrdhttp-plugin-version
Browse files Browse the repository at this point in the history
Compilation fixes - fix gcc warning
  • Loading branch information
abh3 committed Jan 17, 2017
2 parents 22a1f91 + ccdc578 commit 3a8339b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/XrdHttp/XrdHttpReq.cc
Expand Up @@ -1583,6 +1583,10 @@ int XrdHttpReq::PostProcessHTTPReq(bool final_) {
prot->SendSimpleResp(404, NULL, NULL, (char *) "Error man!", 0);
return -1;
}

prot->SendSimpleResp(500, NULL, NULL, (char *) "This line should never be reached, you have been able to.", 0);
return -1;

}
default: //read or readv
{
Expand Down
2 changes: 1 addition & 1 deletion src/XrdVersionPlugin.hh
Expand Up @@ -124,7 +124,7 @@
XrdVERSIONPLUGIN_Rule(Required, 4, 0, XrdSysGetXAttrObject )\
XrdVERSIONPLUGIN_Rule(Required, 4, 0, XrdClGetMonitor )\
XrdVERSIONPLUGIN_Rule(Required, 4, 0, XrdClGetPlugIn )\
XrdVERSIONPLUGIN_Rule(Required, 4, 4, secxtractorlib )\
XrdVERSIONPLUGIN_Rule(Required, 4, 4, secxtractorlib )\
{ 0, 0, 0, 0, 0, 0}

#define XrdVERSIONPLUGIN_Maxim(procMode, majorVer, minorVer, piPfx, piSfx)\
Expand Down

0 comments on commit 3a8339b

Please sign in to comment.