added LRU and fixed bug in dequeueN

This commit is contained in:
elvis
2022-05-19 21:32:44 +02:00
parent 27be55993c
commit 4283d5450e
7 changed files with 209 additions and 28 deletions

View File

@ -453,7 +453,7 @@ void readNFiles(int num, queueT *q, long fd_c, taglia_t *taglia) {
toSend[i]->filepath,
toSend[i]->valid);
}
n += snprintf(tmp_buf+n, m-n, "readNFile dimensione totale = %ld\n",
n += snprintf(tmp_buf+n, m-n, "readNFile dimensione totale = %ld B\n",
tot);
sendMessageFileN(MEOK, toSend, ntosend, fd_c, taglia, tmp_buf);