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

Michal Privoznik mprivozn at redhat.com
Fri Apr 15 13:51:23 UTC 2016


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(-)

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: {
-- 
2.7.3




More information about the libvir-list mailing list