Skip to content

Commit

Permalink
XrdCl: Check if we have openInfo (this check should be redundant)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljanyst committed Dec 12, 2014
1 parent f563671 commit 9a06635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClFileStateHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ namespace XrdCl
// We have failed
//--------------------------------------------------------------------------
pStatus = *status;
if( !pStatus.IsOK() )
if( !pStatus.IsOK() || !openInfo )
{
log->Debug( FileMsg, "[0x%x@%s] Error while opening at %s: %s",
this, pFileUrl->GetURL().c_str(), lastServer.c_str(),
Expand Down

0 comments on commit 9a06635

Please sign in to comment.