summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
authorroot <root>2009-07-19 04:06:13 +0000
committerroot <root>2009-07-19 04:06:13 +0000
commit44e7261c51583f351206cd5dbd02655ea5f4797d (patch)
tree83c8b260560b2857b514ad5f851757f38da621dd /ev_select.c
parente5ffea20e9238db27b789220ff971aa66e617653 (diff)
*** empty log message ***
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/ev_select.c b/ev_select.c
index e57c1e2..818a63e 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -282,9 +282,12 @@ select_init (EV_P_ int flags)
#else
vec_max = 0;
vec_ri = 0;
- vec_ri = 0;
- vec_wo = 0;
+ vec_ro = 0;
+ vec_wi = 0;
vec_wo = 0;
+ #ifdef _WIN32
+ vec_eo = 0;
+ #endif
#endif
return EVBACKEND_SELECT;
@@ -297,6 +300,9 @@ select_destroy (EV_P)
ev_free (vec_ro);
ev_free (vec_wi);
ev_free (vec_wo);
+ #ifdef _WIN32
+ ev_free (vec_eo);
+ #endif
}