util: merge common code for xcb_connect
authorJulien Danjou <julien@danjou.info>
Tue, 7 Apr 2009 12:18:40 +0000 (14:18 +0200)
committerJulien Danjou <julien@danjou.info>
Fri, 10 Apr 2009 07:59:49 +0000 (09:59 +0200)
commitcc191431412d8764c645a51b0f106c0dfe652213
tree04e0932dd7e2595044b6c5362e9581c9f22e9670
parent8797e053b2b2ee989f47490c7687b9a2fbdb0021
util: merge common code for xcb_connect

Many code was duplicated between xcb_connect_to_display_with_auth_info
and xcb_connect(). We merge both, since the difference is just about the
xcb_auth_info_t pointer being supplied, or not.

Signed-off-by: Julien Danjou <julien@danjou.info>
src/xcb_util.c