]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-transaction.c
resolved: split dns_transaction_go()
authorDaniel Mack <daniel@zonque.org>
Mon, 30 Nov 2015 18:06:36 +0000 (19:06 +0100)
committerDaniel Mack <daniel@zonque.org>
Tue, 8 Dec 2015 15:51:41 +0000 (16:51 +0100)
commit1effe9656899c4e4976d4d44f9bde634715daca2
tree77daa49c53e3f20ce52a3be4e683865b2f18cdf1
parent547493c5ad5c82032e247609970f96be76c2d661
resolved: split dns_transaction_go()

Split some code out of dns_transaction_go() so we can re-use it later from
different context. The new function dns_transaction_prepare_next_attempt()
takes care of preparing everything so that a new packet can conditionally
be formulated for a transaction.

This patch shouldn't cause any functional change.
src/resolve/resolved-dns-transaction.c