inpcom.c, inp_bsource_compat(), fix an assertion
This commit is contained in:
parent
71a1b27a23
commit
5550d53512
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue