Re: [PATCH 5/9] virNetClientCallDispatchStream: Update comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxx>
> ---
>  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: {
> 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]