mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 09:31:03 +01:00
Fixed big problem with CPU readout
This commit is contained in:
@@ -335,7 +335,7 @@ int sendDataOnly(int file_des, void* buf,int length) {
|
||||
int rc = write(file_des, (char*)((char*)buf + bytesSent), bytesToSend);
|
||||
// error
|
||||
if (rc < 0) {
|
||||
cprintf(BG_RED, "Error writing to socket. Possible socket crash\n");
|
||||
cprintf(BG_RED, "Error writing to socket. Possible socket crash: left=%d rc=%d length=%d sent=%d\n", bytesToSend, rc, length, bytesSent);
|
||||
return bytesSent;
|
||||
}
|
||||
// also error, wrote nothing, buffer blocked up, too fast sending for client
|
||||
|
||||
Reference in New Issue
Block a user