Skip to content

Commit

Permalink
Use traditional operators spelling
Browse files Browse the repository at this point in the history
Reviewed By: Gownta

Differential Revision: D53757434

fbshipit-source-id: e022779205113b03137bf1340a011c9c630c995c
  • Loading branch information
Dmitry Polukhin authored and facebook-github-bot committed Feb 14, 2024
1 parent 6ffa77b commit d800517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion folly/io/async/test/AsyncSocketTest2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4229,7 +4229,7 @@ class AsyncSocketByteEventTest : public ::testing::Test {
msghdr* /* message */,
int flags,
int returnValue) {
if (flags == MSG_ERRQUEUE and returnValue >= 0) {
if (flags == MSG_ERRQUEUE && returnValue >= 0) {
errorQueueReads_ += 1;
}
}
Expand Down
2 changes: 1 addition & 1 deletion folly/test/SubprocessTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ bool waitForAnyOutput(Subprocess& proc) {
ssize_t len;
do {
len = ::read(proc.stdoutFd(), &buffer, 1);
} while (len == -1 and errno == EINTR);
} while (len == -1 && errno == EINTR);
LOG(INFO) << "Read " << buffer;
return len == 1;
}
Expand Down

0 comments on commit d800517

Please sign in to comment.