Parent Directory
|
Revision Log
|
Patch
| Revision 1.11 by sysadm, Sat May 7 09:28:12 2005 UTC | Revision 1.12 by sysadm, Sat May 7 12:08:28 2005 UTC | |
|---|---|---|
| # | Line 69 igetch () | Line 69 igetch () |
| 69 | fd_set testfds; | fd_set testfds; |
| 70 | struct timeval timeout; | struct timeval timeout; |
| 71 | ||
| 72 | //Stop on system exit | |
| 73 | if (SYS_exit) | |
| 74 | return KEY_NULL; | |
| 75 | ||
| 76 | if (pos >= len) | if (pos >= len) |
| 77 | { | { |
| 78 | pos = 0; | pos = 0; |
| # | Line 89 igetch () | Line 93 igetch () |
| 93 | } | } |
| 94 | if (result < 0) | if (result < 0) |
| 95 | { | { |
| 96 | log_error ("select() error!\n"); | log_error ("select() error (%d) !\n", result); |
| 97 | return KEY_NULL; | return KEY_NULL; |
| 98 | } | } |
| 99 | if (result > 0) | if (result > 0) |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |