After
434de30da545aea137 the status values are prefixed VIR_NET_
rather than REMOTE_.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
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: {
msg->header.serial = serial;
/*
* NB
- * data != NULL + len > 0 => REMOTE_CONTINUE (Sending back data)
- * data != NULL + len == 0 => REMOTE_CONTINUE (Sending read EOF)
- * data == NULL => REMOTE_OK (Sending finish handshake confirmation)
+ * data != NULL + len > 0 => VIR_NET_CONTINUE (Sending back data)
+ * data != NULL + len == 0 => VIR_NET_CONTINUE (Sending read EOF)
+ * data == NULL => VIR_NET_OK (Sending finish handshake confirmation)
*/
msg->header.status = data ? VIR_NET_CONTINUE : VIR_NET_OK;