esrf bug, shut down socket, but being processed and object deleted, fixed

This commit is contained in:
Dhanya Maliakal
2017-08-09 17:25:23 +02:00
parent 5a45f15c7f
commit 39847c5db6
5 changed files with 31 additions and 19 deletions

View File

@ -637,10 +637,10 @@ enum communicationProtocol{
break;
//incomplete packets or header packets ignored and read buffer again
if(nsent != packet_size && nsent != header_packet_size)
bprintf(RED,"Incomplete Packet size %d\n",nsent);
bprintf(RED,"%d Incomplete Packet size %d\n", portno, nsent);
}
//nsent = 1040;
total_sent+=nsent;
if(nsent > 0)total_sent+=nsent;
}
break;
default: