aboutsummaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
Diffstat (limited to 'src/svf')
-rw-r--r--src/svf/svf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index e12fbce..553bdc7 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -587,7 +587,7 @@ static int svf_getline(char **lineptr, size_t *n, FILE *stream)
#define MIN_CHUNK 16 /* Buffer is increased by this size each time as required */
size_t i = 0;
- if (*lineptr == NULL) {
+ if (!*lineptr) {
*n = MIN_CHUNK;
*lineptr = malloc(*n);
if (!*lineptr)