mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
second level switch was using the wrong variable
This commit is contained in:
@@ -146,7 +146,7 @@ doswitch(char *name, char *function, char *args,
|
|||||||
}
|
}
|
||||||
if (tt->class && tt->type != lasttype) {
|
if (tt->class && tt->type != lasttype) {
|
||||||
fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/,
|
fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/,
|
||||||
tt->type, tsw);
|
tt->type, csw);
|
||||||
subswitch = 1;
|
subswitch = 1;
|
||||||
}
|
}
|
||||||
if (tt->class == 0)
|
if (tt->class == 0)
|
||||||
|
Reference in New Issue
Block a user