]> git.ipfire.org Git - thirdparty/glibc.git/commit
resolv: Fix building tst-resolv-invalid-cname for earlier C standards
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 11:30:03 +0000 (13:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 13 Sep 2022 10:56:24 +0000 (12:56 +0200)
commita7fa604f3050a1024dc8ec28ff28bad811f6151f
tree9f088e4147fc9fb3fb9b19973799e1ccd070eeaa
parentc5cdb39c20e96d9ac0d46fc7284b8276a537fd35
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").

(cherry picked from commit d09aa4a17229bcaa2ec7642006b12612498582e7)
resolv/tst-resolv-invalid-cname.c