From 25e0a39165a20c2f588249d1394187726d4eb3cc Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 22 Oct 2016 21:14:01 -0700 Subject: [PATCH] fix bug introduced by lint cleanup commit 42458ff --- src/env_universal_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env_universal_common.cpp b/src/env_universal_common.cpp index 24ba53686..08134855e 100644 --- a/src/env_universal_common.cpp +++ b/src/env_universal_common.cpp @@ -1316,7 +1316,7 @@ class universal_notifier_named_pipe_t : public universal_notifier_t { // it back. Nobody is expected to read it except us. int pid_nbo = htonl(getpid()); ssize_t amt_written = write(this->pipe_fd, &pid_nbo, sizeof pid_nbo); - if (amt_written < 0 && errno == EWOULDBLOCK || errno == EAGAIN) { + if (amt_written < 0 && (errno == EWOULDBLOCK || errno == EAGAIN)) { // Very unsual: the pipe is full! drain_excessive_data(); }