@ -81,7 +81,7 @@ public class ClientManagementUDP implements Runnable {
switch (r[1]) {
case "LOAD":
int size = Integer.parseInt(r[2]);
if (r[3].length() != size + 1) {
if (r[3].length() != size - 1) {
throw new TransmissionError();
}
FileWriter fileWriter = new FileWriter(baseDirectory + filename);