Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 15d1603d authored by rswindell's avatar rswindell

Add missing %s printf args.

parent 9d3fb64b
...@@ -2746,9 +2746,9 @@ bool unpack_bundle(const char* inbound) ...@@ -2746,9 +2746,9 @@ bool unpack_bundle(const char* inbound)
off_t length = flength(fname); off_t length = flength(fname);
if(length < 1) { if(length < 1) {
if(fdate(fname) < time(NULL) + (24*60*60)) if(fdate(fname) < time(NULL) + (24*60*60))
lprintf(LOG_DEBUG, "Ignoring %ld-byte file (less than 24-hours old): ", (long)length, fname); lprintf(LOG_DEBUG, "Ignoring %ld-byte file (less than 24-hours old): %s", (long)length, fname);
else { else {
lprintf(LOG_INFO, "Deleting %ld-byte file (more than 24-hours old): ", (long)length, fname); lprintf(LOG_INFO, "Deleting %ld-byte file (more than 24-hours old): %s", (long)length, fname);
delfile(fname, __LINE__); /* Delete it if it's a 0-byte file */ delfile(fname, __LINE__); /* Delete it if it's a 0-byte file */
} }
continue; continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment