| 1372 | } |
| 1373 | |
| 1374 | void fxSend(txMachine* the, txBoolean more) |
| 1375 | { |
| 1376 | if (the->connection != mxNoSocket) { |
| 1377 | #if mxWindows |
| 1378 | if (send(the->connection, the->echoBuffer, the->echoOffset, 0) <= 0) |
| 1379 | fxDisconnect(the); |
| 1380 | #else |
| 1381 | again: |
| 1382 | if (write(the->connection, the->echoBuffer, the->echoOffset) <= 0) { |
| 1383 | if (errno == EINTR) |
| 1384 | goto again; |
| 1385 | else |
| 1386 | fxDisconnect(the); |
| 1387 | } |
| 1388 | #endif |
| 1389 | } |
| 1390 | } |
| 1391 | |
| 1392 | #endif /* mxDebug */ |
| 1393 |
nothing calls this directly
no test coverage detected