| 1146 | } |
| 1147 | |
| 1148 | void set_io_timeout(int secs) |
| 1149 | { |
| 1150 | io_timeout = secs; |
| 1151 | allowed_lull = (io_timeout + 1) / 2; |
| 1152 | |
| 1153 | if (!io_timeout || allowed_lull > SELECT_TIMEOUT) |
| 1154 | select_timeout = SELECT_TIMEOUT; |
| 1155 | else |
| 1156 | select_timeout = allowed_lull; |
| 1157 | |
| 1158 | if (read_batch) |
| 1159 | allowed_lull = 0; |
| 1160 | } |
| 1161 | |
| 1162 | static void check_for_d_option_error(const char *msg) |
| 1163 | { |
no outgoing calls
no test coverage detected