aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-02-04 11:42:28 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-02-04 11:42:28 +0100
commit3f993746b2ad674f204f23daa85ada0e0c84865a (patch)
tree95d48ecfce4f99e7a47e9730e032a1233dda574a /src/common
parent013a37c8738d671d9d5f8381146d7d1e8f651762 (diff)
downloadblogc-3f993746b2ad674f204f23daa85ada0e0c84865a.tar.gz
blogc-3f993746b2ad674f204f23daa85ada0e0c84865a.tar.bz2
blogc-3f993746b2ad674f204f23daa85ada0e0c84865a.zip
blogc: added "inside docker" template variable
Diffstat (limited to 'src/common')
-rw-r--r--src/common/file.c2
1 files changed, 1 insertions, 1 deletions
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;