rpc: fix a typo in debugging log in virNetServerProgramSendStreamData

The bufferOffset has been initialized to zero in virNetMessageEncodePayloadRaw(),
so, we use bufferLength to represent the length of message which is going to be
sent to client side.
This commit is contained in:
Guannan Ren 2011-08-28 13:46:52 +08:00 committed by Eric Blake
parent a71f8fc70f
commit bae460fc56

View File

@ -468,7 +468,7 @@ int virNetServerProgramSendStreamData(virNetServerProgramPtr prog,
if (virNetMessageEncodePayloadEmpty(msg) < 0)
return -1;
}
VIR_DEBUG("Total %zu", msg->bufferOffset);
VIR_DEBUG("Total %zu", msg->bufferLength);
return virNetServerClientSendMessage(client, msg);
}