inpcom.c, inp_bsource_compat(), fix an assertion

This commit is contained in:
rlar 2014-11-02 12:05:49 +01:00
parent 71a1b27a23
commit 5550d53512
1 changed files with 1 additions and 1 deletions

View File

@ -5591,7 +5591,7 @@ inp_bsource_compat(struct line *card)
tmp_char = copy(curr_line);
equal_ptr = strchr(tmp_char, '=');
if (str_ptr == NULL) {
if (!equal_ptr) {
fprintf(stderr, "ERROR: mal formed B line:\n %s\n", curr_line);
controlled_exit(EXIT_FAILURE);
}