y_socket: debug send_file update nameid and timeid when re_sending paquets
This commit is contained in:
@@ -578,11 +578,12 @@ for(int tour_i=0;(tour_i<4) && (check_if_in_ok_header_l_(argS->m_ok_head_l_t, na
|
|||||||
close(fd_file);
|
close(fd_file);
|
||||||
printf("debug: fd=%d closed: filename=%s, for %s\n",fd_file,filename, tempAddr);
|
printf("debug: fd=%d closed: filename=%s, for %s\n",fd_file,filename, tempAddr);
|
||||||
|
|
||||||
size_t delay = 4000000;
|
size_t delay = 8000000;
|
||||||
printf("debug: wait %ld before checking, in tour:%d\n",delay, tour_i);
|
printf("debug: wait %ld before checking, in tour:%d\n",delay, tour_i);
|
||||||
usleep(delay);
|
usleep(delay);
|
||||||
free(timeid);
|
free(timeid);
|
||||||
timeid = time_id();
|
timeid = time_id();
|
||||||
|
sprintf(nameid, "%s_%s_%s_%s",name_f, tempAddr, tempAddr, timeid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user