xdp-main: Fix a typo in a comparison

This was almost certainly meant to be a logical AND, not a bitwise one.
As spotted from compiler warnings.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
tingping/wmclass
Philip Withnall 2017-06-06 19:41:16 +01:00
parent a4d366f0d5
commit 95106a34d5
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ portal_add_full (GDBusMethodInvocation *invocation,
g_variant_get_child (array, i, "h", &fd_id);
fd = -1;
if (fds != NULL & fd_id < fds_len)
if (fds != NULL && fd_id < fds_len)
fd = fds[fd_id];
if (!validate_fd (fd, app_info, &st_buf, &real_parent_st_bufs[i], path_buffer, &error))