From c683703df0dbf04e6dc560a14a472c807cfb7136 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 1 May 2016 19:35:21 +0200 Subject: [PATCH] Fix system.c for C89 --- src/base/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/system.c b/src/base/system.c index c2ae5f87b..2acdd5498 100644 --- a/src/base/system.c +++ b/src/base/system.c @@ -1705,8 +1705,8 @@ int fs_storage_path(const char *appname, char *path, int max) int fs_makedir_rec_for(const char *path) { char buffer[1024*2]; - str_copy(buffer, path, sizeof(buffer)); char *p; + str_copy(buffer, path, sizeof(buffer)); for(p = buffer; *p != '\0'; p++) { if(*p == '/' && *(p + 1) != '\0')