aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/config.c b/config.c
index 72b662c..f03d98a 100644
--- a/config.c
+++ b/config.c
@@ -214,8 +214,7 @@ int config_read(char* cfg_file){
//pass to parser
//find separator
separator = strchr(line, '=');
-
- if(!*separator){
+ if(!separator){
fprintf(stderr, "Not an assignment: %s\n", line);
goto bail;
}