From 3f993746b2ad674f204f23daa85ada0e0c84865a Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 4 Feb 2019 11:42:28 +0100 Subject: blogc: added "inside docker" template variable --- src/common/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/file.c b/src/common/file.c index d64a0d8..1e55f64 100644 --- a/src/common/file.c +++ b/src/common/file.c @@ -20,7 +20,7 @@ char* bc_file_get_contents(const char *path, bool utf8, size_t *len, bc_error_t **err) { - if (path == NULL || err == NULL || *err != NULL) + if (path == NULL || len == NULL || err == NULL || *err != NULL) return NULL; *len = 0; -- cgit v1.2.3-18-g5258