mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Nits to have tests pass
This commit is contained in:
1 parent
2b836504ab
commit
a98e980c8f
7 files changed
+12
-16
No files matched your search
+3
-2
@@ -1,5 +1,6 @@
|
||||
#include "config.h" // Must go first - important for test++
|
||||
|
||||
#include "util.h"
|
||||
#include "config.h"
|
||||
|
||||
#if MG_ENABLE_FS
|
||||
int mg_stat(const char *path, mg_stat_t *st) {
|
||||
@@ -84,7 +85,7 @@ bool mg_file_printf(const char *path, const char *fmt, ...) {
|
||||
if (buf != tmp) free(buf);
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
#endif // MG_ENABLE_FS
|
||||
|
||||
void mg_random(void *buf, size_t len) {
|
||||
bool done = false;
|
||||
|
||||
Reference in new issue
Block a user