# HG changeset patch # User Thinker K.F. Li # Date 1290357750 -28800 # Node ID aa0583e0a96b5382b5320753790b5f17a43a0271 # Parent b462b9e213e8369c69edbaeda96041539131dd73 Fix typo for the naem of struct _X_supp_IO_man diff -r b462b9e213e8 -r aa0583e0a96b src/X_supp.c --- a/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 +++ b/src/X_supp.c Mon Nov 22 00:42:30 2010 +0800 @@ -216,7 +216,7 @@ static int _x_supp_io_man_reg(struct _mb_IO_man *io_man, int fd, MB_IO_TYPE type, mb_IO_cb_t cb, void *data) { - struct _x_supp_io_man *xmb_io_man = (struct _x_supp_io_man *)io_man; + struct _X_supp_IO_man *xmb_io_man = (struct _X_supp_IO_man *)io_man; int i; for(i = 0; i < xmb_io_man->n_monitor; i++) { @@ -238,7 +238,7 @@ static void _x_supp_io_man_unreg(struct _mb_IO_man *io_man, int io_hdl) { - struct _x_supp_io_man *xmb_io_man = (struct _x_supp_io_man *)io_man; + struct _X_supp_IO_man *xmb_io_man = (struct _X_supp_IO_man *)io_man; ASSERT(io_hdl < xmb_io_man->n_monitor); xmb_io_man->monitors[io_hdl].type = MB_IO_DUMMY;