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

Update select.c