Print

Print


Possible fix:

```diff
diff --git a/src/XrdCl/XrdClURL.cc b/src/XrdCl/XrdClURL.cc
index c7c6471..386f7b9 100644
--- a/src/XrdCl/XrdClURL.cc
+++ b/src/XrdCl/XrdClURL.cc
@@ -370,7 +370,8 @@ namespace XrdCl
   {
     Env *env = DefaultEnv::GetEnv();
     int mlProcessing = DefaultMetalinkProcessing;
-    env->GetInt( "MetalinkProcessing", mlProcessing );
+    if( env )
+      env->GetInt( "MetalinkProcessing", mlProcessing );
     if( !mlProcessing ) return false;
     return PathEndsWith( ".meta4" ) || PathEndsWith( ".metalink" );
   }
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/433#issuecomment-259246246

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1