Skip to content

Commit

Permalink
Fix misplaced trace statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 committed Feb 20, 2013
1 parent 0ae9254 commit e6bfdd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdXrootd/XrdXrootdResponse.cc
Expand Up @@ -126,13 +126,13 @@ int XrdXrootdResponse::Send(XResponseType rcode, int info, const char *data)
kXR_int32 xbuf = static_cast<kXR_int32>(htonl(info));
int dlen;

TRACES(RSP, "sending " <<dlen <<" data bytes; status=" <<rcode);

RespIO[1].iov_base = (caddr_t)(&xbuf);
RespIO[1].iov_len = sizeof(xbuf);
RespIO[2].iov_base = (caddr_t)data;
RespIO[2].iov_len = dlen = strlen(data);

TRACES(RSP,"sending " <<(sizeof(xbuf)+dlen) <<" data bytes; status=" <<rcode);

if (Bridge)
{if (Bridge->Send(rcode, &RespIO[1], 1, dlen) >= 0) return 0;
return Link->setEtext("send failure");
Expand Down

0 comments on commit e6bfdd7

Please sign in to comment.