[libvirt] [PATCH 5/9] virNetClientCallDispatchStream: Update comment
John Ferlan
jferlan at redhat.com
Wed Apr 20 13:56:00 UTC 2016
On 04/15/2016 09:51 AM, Michal Privoznik wrote:
> After 434de30da545aea137 the status values are prefixed VIR_NET_
> rather than REMOTE_.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/rpc/virnetclient.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Should also update comments in virNetServerProgramSendStreamData which
use the REMOTE_ prefix (found via cscope).
John
> diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c
> index c68da6d..781e74c 100644
> --- a/src/rpc/virnetclient.c
> +++ b/src/rpc/virnetclient.c
> @@ -1063,9 +1063,9 @@ static int virNetClientCallDispatchStream(virNetClientPtr client)
> VIR_DEBUG("Found call %p", thecall);
>
> /* Status is either
> - * - REMOTE_OK - no payload for streams
> - * - REMOTE_ERROR - followed by a remote_error struct
> - * - REMOTE_CONTINUE - followed by a raw data packet
> + * - VIR_NET_OK - no payload for streams
> + * - VIR_NET_ERROR - followed by a remote_error struct
> + * - VIR_NET_CONTINUE - followed by a raw data packet
> */
> switch (client->msg.header.status) {
> case VIR_NET_CONTINUE: {
>
More information about the libvir-list
mailing list