mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 07:36:53 +00:00
Fix logic error
This commit is contained in:
1 parent
c448c37cc9
commit
20677d4be1
1 file changed
+1
-1
+1
-1
@@ -94,7 +94,7 @@ public class MultiRecipientMessageProvider implements MessageBodyReader<MultiRec
|
||||
private long convertNetworkByteOrderToLong(byte[] buffer) {
|
||||
long result = 0;
|
||||
for (int i = 0; i < 8; i++) {
|
||||
result = (result << (i * 8)) | (buffer[i] & 0xFFL);
|
||||
result = (result << 8) | (buffer[i] & 0xFFL);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user