Skip to content

Commit

Permalink
Merge pull request #703 from kgizdov/master
Browse files Browse the repository at this point in the history
fix for #702
  • Loading branch information
abh3 committed May 14, 2018
2 parents b9aca4a + 21fa6f4 commit f06ecc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdApps/XrdCpFile.cc
Expand Up @@ -88,7 +88,7 @@ XrdCpFile::XrdCpFile(const char *FSpec, int &badURL)
for (i = 0; i < pTnum; i++)
{if (!strncmp(FSpec, pTab[i].pHdr, pTab[i].pHsz))
{Protocol = pTab[i].pVal;
strncpy(ProtName, pTab[i].pHdr, pTab[i].pHsz-3);
memcpy(ProtName, pTab[i].pHdr, pTab[i].pHsz-3);
return;
}
}
Expand Down

0 comments on commit f06ecc6

Please sign in to comment.