Commit 5dd891e4 authored by Niels Möller's avatar Niels Möller
Browse files

Renumbered the close reasons. Zero means that close callbacks

should not be invoked.

Rev: src/io.h:1.12
parent bbdb58e6
......@@ -64,10 +64,10 @@ struct fd_callback
/* Close callbacks are called with a reason as argument. */
#define CLOSE_EOF 0
#define CLOSE_WRITE_FAILED 1
#define CLOSE_PROTOCOL_FAILURE 2
#define CLOSE_EOF 1
#define CLOSE_WRITE_FAILED 2
#define CLOSE_PROTOCOL_FAILURE 3
struct close_callback
{
struct lsh_object header;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment