[Spice-devel] [PATCH spice-gtk 06/13] migration: set connecting state before fd request

Marc-André Lureau marcandre.lureau at gmail.com
Thu Nov 13 07:43:26 PST 2014


On Thu, Nov 13, 2014 at 10:15 AM, Christophe Fergeau <cfergeau at redhat.com>
wrote:

> It seems it could have stayed in the same place, but with the check
> changed to > _CONNECTING instead of != UNCONNECTED?
>

It is not the same check in the normal connect() case (== UNCONNECTED), so
it is better to move state check in the respective callers.


-- 
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141113/668e1074/attachment-0001.html>


More information about the Spice-devel mailing list