commit 2559d2039ba8660781113a3f50bca0f016be7795 from: Bradley Taunt date: Thu Nov 07 20:27:19 2024 UTC Fix warnings, incorrect safety of strings commit - 9cb2f6aa783710727e8c5ac176b8416a700cd108 commit + 2559d2039ba8660781113a3f50bca0f016be7795 blob - 64774a387b4d1b8e4dc9db4eccd9de7a79052a91 blob + cf7fea15b6c961d6384c7c35149669d76376bf7d --- stagit-index.c +++ stagit-index.c @@ -103,9 +103,9 @@ writeheader(FILE *fp) "", fp); xmlencode(fp, description, strlen(description)); fprintf(fp, "\n\n", relpath); - fprintf("", fp); + fprintf(fp, "%s", ""); fputs("\n\n", fp); - fprintf(fp, "\n
", relpath); + fprintf(fp, "%s", "\n
"); xmlencode(fp, description, strlen(description)); fputs("
\n
\n" "
\n" blob - bdb9f96b35f2d2669779b3f0fb569743cec0ad61 blob + a6b3eb31bcd0ca73ca791189bee699c2888d59ca --- stagit.c +++ stagit.c @@ -519,7 +519,7 @@ writeheader(FILE *fp, const char *title) fputs("\n", relpath); - fprintf("", fp); + fprintf(fp, "%s", ""); fputs("\n\n", fp); fputs("

", fp); xmlencode(fp, strippedname, strlen(strippedname));