xcb_discard_reply: Simplify by re-using poll_for_reply helper.
authorJamey Sharp <jamey@minilop.net>
Sat, 9 Oct 2010 20:19:05 +0000 (13:19 -0700)
committerJamey Sharp <jamey@minilop.net>
Sat, 9 Oct 2010 20:19:05 +0000 (13:19 -0700)
commit6c8b539c2a2e53bf3deb0e749a941ab52b7e8834
treea8a9db4f7068ed3a2b80edba9c20fc7afd8f6c9e
parent3a74b5e7a1aab0619b7e34d90d2b8b2b1e386129
xcb_discard_reply: Simplify by re-using poll_for_reply helper.

If you discard a sequence number that has multiple responses already
read, this will do more allocations than necessary. But nobody cares
about ListFontsWithInfo.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
src/xcb_in.c