mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Fix #1483 - add valgrind target, do not use stdlib strcasecmp()
This commit is contained in:
1 parent
870431dc1a
commit
8c447a95dd
4 files changed
+15
-16
No files matched your search
@@ -11,7 +11,7 @@ static char *mg_ssi(const char *path, const char *root, int depth) {
|
||||
struct mg_iobuf b = {NULL, 0, 0};
|
||||
FILE *fp = fopen(path, "rb");
|
||||
if (fp != NULL) {
|
||||
char buf[BUFSIZ], arg[sizeof(buf)];
|
||||
char buf[BUFSIZ] = "", arg[sizeof(buf)] = "";
|
||||
int ch, intag = 0;
|
||||
size_t len = 0, align = MG_IO_SIZE;
|
||||
while ((ch = fgetc(fp)) != EOF) {
|
||||
|
||||
Reference in new issue
Block a user