gsocket: don't abuse GPollFD.revents field
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Feb 2014 21:58:34 +0000 (16:58 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 22 Feb 2014 15:24:19 +0000 (10:24 -0500)
commit1f7100506a51584e66930851c5243fd2eaee5c35
tree5b90f4a70d8ca2f3fbf24e609dd9141af24e580b
parentff96f88e172d504b5aef2a852880e21341809e1f
gsocket: don't abuse GPollFD.revents field

We are reusing the GPollFD.revents field of the source to store a
temporary value.  Use a local variable for that instead.

This is a refactor to make the next commit easier to understand.

https://bugzilla.gnome.org/show_bug.cgi?id=724707
gio/gsocket.c