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 fd7cf58b authored by Rob Swindell's avatar Rob Swindell 💬

Address GCC 9.3.0 warnings:

warning: format not a string literal and no format arguments
parent 8e3a8aa7
Pipeline #1853 passed with stage
in 11 minutes and 4 seconds
......@@ -1685,7 +1685,7 @@ int main(int argc, char **argv)
break;
default:
fprintf(statfp,"Unrecognized command '%s'\n\n",argv[i]);
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
......@@ -1825,14 +1825,14 @@ int main(int argc, char **argv)
if(!(mode&(SEND|RECV))) {
fprintf(statfp,"!No command specified\n\n");
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
if(mode&(SEND|XMODEM) && !fnames) { /* Sending with any or recv w/XMODEM */
fprintf(statfp,"!Must specify filename or filelist\n\n");
fprintf(statfp,usage);
fprintf(statfp,"%s",usage);
bail(1);
return -1;
}
......
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