]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: use switch-case statements for protocol details
authorDaniel Mack <daniel@zonque.org>
Sat, 11 Jul 2015 20:21:26 +0000 (16:21 -0400)
committerDaniel Mack <daniel@zonque.org>
Tue, 25 Aug 2015 12:25:56 +0000 (14:25 +0200)
commit106784ebb7b303ae471851100a773ad2aebf5b80
treee486bff2f465631ecd21bbc491dc79b1072b8dc5
parent8326c7f789bad623a5705b04b78d104d993a90ee
resolved: use switch-case statements for protocol details

With more protocols to come, switch repetitive if-else blocks with a
switch-case statements.
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-packet.h
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-transaction.c