Fixed a bug that I had introduced with the new "options" handling.
This commit is contained in:
parent
e707806894
commit
70112da81a
@ -349,16 +349,17 @@ static void check_dep ( char *mod, struct mod_list_t **head, struct mod_list_t *
|
|||||||
struct dep_t *adt;
|
struct dep_t *adt;
|
||||||
|
|
||||||
for ( adt = depend; adt; adt = adt-> m_next ) {
|
for ( adt = depend; adt; adt = adt-> m_next ) {
|
||||||
if ( strcmp ( adt-> m_module, dt-> m_deparr [0] ) == 0 ) {
|
if ( strcmp ( adt-> m_module, dt-> m_deparr [0] ) == 0 )
|
||||||
if ( !opt )
|
|
||||||
opt = adt-> m_options;
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if ( !adt )
|
if ( adt ) {
|
||||||
return;
|
|
||||||
else
|
|
||||||
dt = adt;
|
dt = adt;
|
||||||
|
mod = dt-> m_module;
|
||||||
|
if ( !opt )
|
||||||
|
opt = dt-> m_options;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user