| 1265 | } |
| 1266 | |
| 1267 | void fxSend(txMachine* the, txBoolean more) |
| 1268 | { |
| 1269 | if (the->connection != mxNoSocket) { |
| 1270 | #if mxWindows |
| 1271 | if (send(the->connection, the->echoBuffer, the->echoOffset, 0) <= 0) |
| 1272 | fxDisconnect(the); |
| 1273 | #else |
| 1274 | again: |
| 1275 | if (write(the->connection, the->echoBuffer, the->echoOffset) <= 0) { |
| 1276 | if (errno == EINTR) |
| 1277 | goto again; |
| 1278 | else |
| 1279 | fxDisconnect(the); |
| 1280 | } |
| 1281 | #endif |
| 1282 | } |
| 1283 | } |
| 1284 | |
| 1285 | #endif /* mxDebug */ |
| 1286 |
nothing calls this directly
no test coverage detected