Am I smoking crack? Correct stupid, wrong ASSERT -> if conversion and make
it do what I had in mind. Noticed by: glebius Pointyhat to: me, myself and mlaier
This commit is contained in:
parent
a15559cbac
commit
149f3727de
@ -170,7 +170,7 @@ net_add_domain(void *data)
|
||||
("attempt to net_add_domain(%s) before domaininit()",
|
||||
dp->dom_name));
|
||||
#ifndef INVARIANTS
|
||||
if (domain_init_status == 0)
|
||||
if (domain_init_status < 1)
|
||||
printf("WARNING: attempt to net_add_domain(%s) before "
|
||||
"domaininit()\n", dp->dom_name);
|
||||
#endif
|
||||
@ -179,7 +179,7 @@ net_add_domain(void *data)
|
||||
("attempt to net_add_domain(%s) after domainfinalize()",
|
||||
dp->dom_name));
|
||||
#else
|
||||
if (domain_init_status != 0)
|
||||
if (domain_init_status >= 2)
|
||||
printf("WARNING: attempt to net_add_domain(%s) after "
|
||||
"domainfinalize()\n", dp->dom_name);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user