summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_transfer.h')
-rw-r--r--protocols/Tox/src/tox_transfer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_transfer.h b/protocols/Tox/src/tox_transfer.h
index f683b9e046..a8dcc55b62 100644
--- a/protocols/Tox/src/tox_transfer.h
+++ b/protocols/Tox/src/tox_transfer.h
@@ -47,7 +47,7 @@ struct FileTransferParam
uint8_t GetDirection() const
{
- return pfts.flags & PFTS_SENDING ? 0 : 1;
+ return (pfts.flags & PFTS_SENDING) ? 0 : 1;
}
~FileTransferParam()