Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 13 lines 365 B view raw
1diff --git a/src/funcs.c b/src/funcs.c 2index 299b8f022..ecbfa28c5 100644 3--- a/src/funcs.c 4+++ b/src/funcs.c 5@@ -93,7 +93,7 @@ file_checkfmt(char *msg, size_t mlen, const char *fmt) 6 if (*++p == '%') 7 continue; 8 // Skip uninteresting. 9- while (strchr("0.'+- ", *p) != NULL) 10+ while (strchr("#0.'+- ", *p) != NULL) 11 p++; 12 if (*p == '*') { 13 if (msg)