diff options
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -15,7 +15,7 @@ | |||
15 | * RCS ID: $Id$ | 15 | * RCS ID: $Id$ |
16 | \*=========================================================================*/ | 16 | \*=========================================================================*/ |
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include <lua.h> | 18 | #include "lua.h" |
19 | 19 | ||
20 | #include "timeout.h" | 20 | #include "timeout.h" |
21 | 21 | ||
@@ -24,8 +24,7 @@ enum { | |||
24 | IO_DONE = 0, /* operation completed successfully */ | 24 | IO_DONE = 0, /* operation completed successfully */ |
25 | IO_TIMEOUT = -1, /* operation timed out */ | 25 | IO_TIMEOUT = -1, /* operation timed out */ |
26 | IO_CLOSED = -2, /* the connection has been closed */ | 26 | IO_CLOSED = -2, /* the connection has been closed */ |
27 | IO_CLIPPED = -3, /* maxium bytes count reached */ | 27 | IO_UNKNOWN = -3 |
28 | IO_UNKNOWN = -4 | ||
29 | }; | 28 | }; |
30 | 29 | ||
31 | /* interface to error message function */ | 30 | /* interface to error message function */ |