aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_create.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-11 20:14:09 +0200
committerMattias Andrée <maandree@kth.se>2020-06-11 20:14:09 +0200
commitb56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b (patch)
treeaa502d70d9969c333ccf9e70d55fd6dea41623c2 /libaxl_create.c
parentFix error checking (diff)
downloadlibaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.gz
libaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.bz2
libaxl-b56c78b9251806c5e5cd3a5fa5d1f6e8e3de351b.tar.xz
Misc, mainly connect stuff
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libaxl_create.c')
-rw-r--r--libaxl_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libaxl_create.c b/libaxl_create.c
index 3d6d7b6..a25566f 100644
--- a/libaxl_create.c
+++ b/libaxl_create.c
@@ -8,6 +8,7 @@ libaxl_create(int fd)
conn = liberror_calloc(1, sizeof(*conn));
if (conn) {
conn->fd = fd;
+ conn->info.struct_version = LIBAXL_DISPLAY_INFO_VERSION;
atomic_init(&conn->xid_last, 0);
INIT_LIBAXL_CONNECTION_RWLOCK(conn);
}