[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed typo in 1855c73cd340ae62732517
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 01/02: Fixed typo in 1855c73cd340ae6273251728e8d6d500b2c1119b: logic 'AND" instead of bitwise 'AND' |
Date: |
Tue, 14 Mar 2017 19:44:49 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 079b61496e6a977e4c804a01ab0e3d30d5ad98b8
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Tue Mar 14 12:42:10 2017 +0300
Fixed typo in 1855c73cd340ae6273251728e8d6d500b2c1119b:
logic 'AND" instead of bitwise 'AND'
---
src/microhttpd/daemon.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 6aafffcd..3e48ef66 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -774,8 +774,8 @@ urh_from_fdset (struct MHD_UpgradeResponseHandle *urh,
const MHD_socket mhd_sckt = urh->mhd.socket;
/* Reset read/write ready, preserve error state. */
- urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY &&
~MHD_EPOLL_STATE_WRITE_READY);
- urh->mhd.celi &= (~MHD_EPOLL_STATE_READ_READY &&
~MHD_EPOLL_STATE_WRITE_READY);
+ urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY &
~MHD_EPOLL_STATE_WRITE_READY);
+ urh->mhd.celi &= (~MHD_EPOLL_STATE_READ_READY &
~MHD_EPOLL_STATE_WRITE_READY);
if (MHD_INVALID_SOCKET != conn_sckt)
{
@@ -867,8 +867,8 @@ urh_from_pollfd(struct MHD_UpgradeResponseHandle *urh,
struct pollfd p[2])
{
/* Reset read/write ready, preserve error state. */
- urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY &&
~MHD_EPOLL_STATE_WRITE_READY);
- urh->mhd.celi &= (~MHD_EPOLL_STATE_READ_READY &&
~MHD_EPOLL_STATE_WRITE_READY);
+ urh->app.celi &= (~MHD_EPOLL_STATE_READ_READY &
~MHD_EPOLL_STATE_WRITE_READY);
+ urh->mhd.celi &= (~MHD_EPOLL_STATE_READ_READY &
~MHD_EPOLL_STATE_WRITE_READY);
if (0 != (p[0].revents & POLLIN))
urh->app.celi |= MHD_EPOLL_STATE_READ_READY;
--
To stop receiving notification emails like this one, please contact
address@hidden