]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: initialize variable (#4338)
authorThomas H. P. Andersen <phomes@gmail.com>
Tue, 11 Oct 2016 00:12:40 +0000 (02:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 11 Oct 2016 00:12:40 +0000 (20:12 -0400)
commit01b0669e9ac772d8eeed447ee469b7d4131c3ced
tree68dda7e1b6975fcda74e7ef4207b4e523b13e444
parentc637e72b7ac8a6283e7fc3939f089ee59394c08c
resolved: initialize variable (#4338)

r was not initialized and would be used if "tcp" was the only option
used for the stub. We should initialize it to 0 to indicate that no
error happened in the udp case.
src/resolve/resolved-dns-stub.c