diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 6a88177e..6a94faea 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -214,22 +214,22 @@ enum MHD_ConnectionEventLoopInfo | |||
214 | /** | 214 | /** |
215 | * We are waiting to be able to read. | 215 | * We are waiting to be able to read. |
216 | */ | 216 | */ |
217 | MHD_EVENT_LOOP_INFO_READ = 0, | 217 | MHD_EVENT_LOOP_INFO_READ = 1 << 0, |
218 | 218 | ||
219 | /** | 219 | /** |
220 | * We are waiting to be able to write. | 220 | * We are waiting to be able to write. |
221 | */ | 221 | */ |
222 | MHD_EVENT_LOOP_INFO_WRITE = 1, | 222 | MHD_EVENT_LOOP_INFO_WRITE = 1 << 1, |
223 | 223 | ||
224 | /** | 224 | /** |
225 | * We are waiting for the application to provide data. | 225 | * We are waiting for the application to provide data. |
226 | */ | 226 | */ |
227 | MHD_EVENT_LOOP_INFO_BLOCK = 2, | 227 | MHD_EVENT_LOOP_INFO_BLOCK = 1 << 2, |
228 | 228 | ||
229 | /** | 229 | /** |
230 | * We are finished and are awaiting cleanup. | 230 | * We are finished and are awaiting cleanup. |
231 | */ | 231 | */ |
232 | MHD_EVENT_LOOP_INFO_CLEANUP = 3 | 232 | MHD_EVENT_LOOP_INFO_CLEANUP = 1 << 3 |
233 | } _MHD_FIXED_ENUM; | 233 | } _MHD_FIXED_ENUM; |
234 | 234 | ||
235 | 235 | ||