summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index e41ff16..46c833a 100644
--- a/config.c
+++ b/config.c
@@ -27,7 +27,7 @@ char *read_file(const char *filename, long *size) {
filesize = ftell(fp);
/* Return NULL, if the returned size is negative. */
- if (*filesize < 0) {
+ if (filesize < 0) {
fclose(fp);
return NULL;
}