diff options
Diffstat (limited to 'src/xcb_util.c')
-rw-r--r-- | src/xcb_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/xcb_util.c b/src/xcb_util.c index 2121098..30bcf79 100644 --- a/src/xcb_util.c +++ b/src/xcb_util.c @@ -532,10 +532,8 @@ xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *displayname, if(auth) { c = xcb_connect_to_fd(fd, auth); - goto out; } - - if(_xcb_get_auth_info(fd, &ourauth, display)) + else if(_xcb_get_auth_info(fd, &ourauth, display)) { c = xcb_connect_to_fd(fd, &ourauth); free(ourauth.name); |