Skip to content

Commit

Permalink
[XrdCl] Check response length instead of request length when checking…
Browse files Browse the repository at this point in the history
… whether stat info was included in the open response
  • Loading branch information
ljanyst committed Apr 17, 2013
1 parent 4367e7d commit cdb60b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClXRootDMsgHandler.cc
Expand Up @@ -714,7 +714,7 @@ namespace XrdCl
log->Dump( XRootDMsg, "[%s] Found StatInfo in response to %s",
pUrl.GetHostId().c_str(),
pRequest->GetDescription().c_str() );
if( req->open.dlen >= 12 )
if( rsp->hdr.dlen >= 12 )
statInfo = new StatInfo( buffer+12 );
}

Expand Down

0 comments on commit cdb60b2

Please sign in to comment.