first mythen3 server commit

This commit is contained in:
Andrä Marie
2018-01-18 09:25:06 +01:00
parent 59c0861131
commit 92b4b3324e
21 changed files with 9381 additions and 14 deletions

View File

@ -333,7 +333,7 @@ int receiveData(int file_des, void* buf,int length, intType itype){
#endif
while(length > 0) {
nreceiving = (length>send_rec_max_size) ? send_rec_max_size:length;
nreceiving = (length>send_rec_max_size) ? send_rec_max_size:length; // (condition) ? if_true : if_false
nreceived = read(file_des,(char*)buf+total_received,nreceiving);
if(!nreceived){
if(!total_received) {