diff options
author | cbdev <cb@cbcdn.com> | 2017-12-02 17:38:07 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2017-12-02 17:38:07 +0100 |
commit | 8874c3bff295f93f2012ae016d5d34270bdb1ebb (patch) | |
tree | d74767d7130863fcc697971c4b9c598178931c4d | |
parent | 04e248a5e75e677f71b504cd9ad7f6ecf17b00a9 (diff) | |
download | midimonster-8874c3bff295f93f2012ae016d5d34270bdb1ebb.tar.gz midimonster-8874c3bff295f93f2012ae016d5d34270bdb1ebb.tar.bz2 midimonster-8874c3bff295f93f2012ae016d5d34270bdb1ebb.zip |
Fix check on return value
-rw-r--r-- | config.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |