Permalink
Browse files

Fix check on bad pointer

Fix last commit. :-(

Signed-off-by: Julien Danjou <julien@danjou.info>
  • Loading branch information...
1 parent 3f49332 commit 4bde7d1effe4bd40aeced868a635a7d1543ee9d7 @jd jd committed Jan 24, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/conn.c
View
@@ -456,7 +456,7 @@ xpybConn_poll_for_event(xpybConn *self, PyObject *args)
data = xcb_poll_for_event(self->conn);
if (data == NULL) {
- if (xpybConn_invalid(self->conn))
+ if (xpybConn_invalid(self))
return NULL;
else
Py_RETURN_NONE;

0 comments on commit 4bde7d1

Please sign in to comment.