mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 17:28:20 +00:00
trivial: Fix a logic thinko spotted by Coverity
This commit is contained in:
parent
241bdbb0f5
commit
f0735f4583
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user