aboutsummaryrefslogtreecommitdiffhomepage
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 11e8a70..b10740c 100644
--- a/config.c
+++ b/config.c
@@ -76,7 +76,7 @@ static ssize_t getline(char** line, size_t* alloc, FILE* stream){
}
//input broken
- if(ferror(stream) || c < 0){
+ if(ferror(stream)){
return -1;
}