sd-ndisc: simplify if stmt and reindent log messages
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Jan 2016 01:22:30 +0000 (20:22 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 18 Jan 2016 20:21:28 +0000 (15:21 -0500)
commitc952944ef8229dc816de59b00131be0f9b740c7f
treeca52c76a143ca43613430823bd7eda86c6e810af
parentb0e6520c42bdcee2e4e8ea0aa078e9d056c1e56f
sd-ndisc: simplify if stmt and reindent log messages

Merge separate two error handling statements into two nested ifs.
This looks cleaner, and avoids a gcc warning about *prefix being
uninitialized.

While at it, fix identation of logging statements elsewhere in the
file.
src/libsystemd-network/sd-ndisc.c