trivial: Fix a logic thinko spotted by Coverity

This commit is contained in:
Richard Hughes 2020-09-01 14:14:02 +01:00
parent 241bdbb0f5
commit f0735f4583

View File

@ -2720,7 +2720,7 @@ fwupd_client_upload_bytes (FwupdClient *self,
return NULL;
/* build message */
if ((flags | FWUPD_CLIENT_UPLOAD_FLAG_ALWAYS_MULTIPART) > 0 ||
if ((flags & FWUPD_CLIENT_UPLOAD_FLAG_ALWAYS_MULTIPART) > 0 ||
signature != NULL) {
g_autoptr(SoupMultipart) mp = NULL;
mp = soup_multipart_new (SOUP_FORM_MIME_TYPE_MULTIPART);