diff --git a/net/netxng/src/TNetXNGFile.cxx b/net/netxng/src/TNetXNGFile.cxx index 0b832f2c7fddd..8cd2f37714a7b 100644 --- a/net/netxng/src/TNetXNGFile.cxx +++ b/net/netxng/src/TNetXNGFile.cxx @@ -172,7 +172,7 @@ TNetXNGFile::TNetXNGFile(const char *url, const char *lurl, Option_t *mode, cons fFile = new File(); fInitCondVar = new XrdSysCondVar(); - fUrl->SetProtocol(std::string("root")); + fQueryReadVParams = 1; fReadvIorMax = 2097136; fReadvIovMax = 1024;