Update select.c
Merge pull request #33 from qihuidan/master

Update select.c