Skip to content

Commit 9e7825e

Browse files
committed
[PR #1067] xselinux: use return code of X_SEND_REPLY_SIMPLE()
PR: #1067
1 parent e55281e commit 9e7825e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Xext/xselinux_ext.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,13 @@ ProcSELinuxQueryVersion(ClientPtr client)
7171
.server_major = SELINUX_MAJOR_VERSION,
7272
.server_minor = SELINUX_MINOR_VERSION
7373
};
74+
7475
if (client->swapped) {
7576
swaps(&reply.server_major);
7677
swaps(&reply.server_minor);
7778
}
78-
X_SEND_REPLY_SIMPLE(client, reply);
79-
return Success;
79+
80+
return X_SEND_REPLY_SIMPLE(client, reply);
8081
}
8182

8283
static int

0 commit comments

Comments
 (0)