resolv: Fix building tst-resolv-invalid-cname for earlier C standards
commitd09aa4a17229bcaa2ec7642006b12612498582e7
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 11:30:03 +0000 (30 13:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 12:04:12 +0000 (30 14:04 +0200)
tree721ceb9aba7ca196f15df50ff561d5da768b013d
parent52a5be0df411ef3ff45c10c7c308cb92993d15b1
resolv: Fix building tst-resolv-invalid-cname for earlier C standards

This fixes this compiler error:

tst-resolv-invalid-cname.c: In function ‘test_mode_to_string’:
tst-resolv-invalid-cname.c:164:10: error: label at end of compound statement
     case test_mode_num:
          ^~~~~~~~~~~~~

Fixes commit 9caf782276ecea4bc86fc94fbb52779736f3106d
("resolv: Add new tst-resolv-invalid-cname").
resolv/tst-resolv-invalid-cname.c