Skip to content
Snippets Groups Projects
Commit 2991fc79 authored by deuce's avatar deuce
Browse files

Do not resume downloads if local and remote files match.

parent 881d0bc1
No related branches found
No related tags found
No related merge requests found
......@@ -1848,6 +1848,10 @@ int zmodem_recv_files(zmodem_t* zm, const char* download_dir, uint32_t* bytes_re
}
break;
}
if(l == bytes) {
lprintf(zm,LOG_ERR,"CRC, length, and filename match.");
break;
}
lprintf(zm,LOG_INFO,"Resuming download of %s",fpath);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment