I'm not sure about this part.
When offset is equal of length, nbytes is 0 and the function will return 0.

Do you see any possible problems to remove this part?
I checked all ret = 0 and I'm not seeing problems until now.

> -        if (got == 0)
> -            break;
> -

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

Reply via email to