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

Fix new GCC 9.3 warnings.

parent 51779624
Pipeline #2019 passed with stage
in 7 minutes and 23 seconds
......@@ -129,7 +129,7 @@ int main(int argc, char **argv)
while((ch=fgetc(in))!=EOF && ch != CTRL_Z) {
if(ch=='[' && esc) { /* ANSI escape sequence */
if(cols && column >= cols) {
fprintf(out, cond_newline); // Conditional-newline
fprintf(out, "%s", cond_newline); // Conditional-newline
column = 0;
}
ni=0; /* zero number index */
......@@ -297,7 +297,7 @@ int main(int argc, char **argv)
break;
default:
if(cols && column >= cols) {
fprintf(out, cond_newline); // Conditional-newline
fprintf(out, "%s", cond_newline); // Conditional-newline
column = 0;
}
fputc(ch,out);
......
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