mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
synced 2026-05-08 03:08:08 +02:00
Fix error checking in call to register_extensions()
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
55961e7d79
commit
fbd56b6b75
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ int xcb_errors_context_new(xcb_connection_t *conn, xcb_errors_context_t **c)
|
|||
ctx = *c;
|
||||
ctx->extensions = NULL;
|
||||
|
||||
if (!register_extensions(ctx, conn))
|
||||
if (register_extensions(ctx, conn) != 0)
|
||||
goto error_out;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue