[systemd-commits] 2 commits - src/resolve src/resolve-host
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Sun Aug 3 04:19:42 PDT 2014
src/resolve-host/resolve-host.c | 2 +-
src/resolve/resolved-bus.c | 1 -
src/resolve/resolved-manager.c | 1 -
3 files changed, 1 insertion(+), 3 deletions(-)
New commits:
commit be63641349b1350c6b33976791eb89af7427de7b
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sun Aug 3 09:39:30 2014 +0200
resolve-host: use correct format specifier
diff --git a/src/resolve-host/resolve-host.c b/src/resolve-host/resolve-host.c
index 1063790..80ce9cb 100644
--- a/src/resolve-host/resolve-host.c
+++ b/src/resolve-host/resolve-host.c
@@ -105,7 +105,7 @@ static int resolve_host(sd_bus *bus, const char *name) {
return bus_log_parse_error(r);
if (!IN_SET(family, AF_INET, AF_INET6)) {
- log_debug("%s: skipping entry with family %hu (%s)", name, family, af_to_name(family) ?: "unknown");
+ log_debug("%s: skipping entry with family %d (%s)", name, family, af_to_name(family) ?: "unknown");
continue;
}
commit e850d8e1acad4b06ba212145fee67932a3417cd6
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Sat Aug 2 23:38:01 2014 +0200
resolved: remove unused variables
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c
index fa00b3d..e158fdc 100644
--- a/src/resolve/resolved-bus.c
+++ b/src/resolve/resolved-bus.c
@@ -552,7 +552,6 @@ finish:
static int bus_method_resolve_record(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) {
_cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL;
_cleanup_(dns_question_unrefp) DnsQuestion *question = NULL;
- _cleanup_free_ char *reverse = NULL;
Manager *m = userdata;
DnsQuery *q;
int r;
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 5ed7a9f..1b6dc8a 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -359,7 +359,6 @@ static int on_hostname_change(sd_event_source *es, int fd, uint32_t revents, voi
}
static int manager_watch_hostname(Manager *m) {
- _cleanup_free_ char *h = NULL;
int r;
assert(m);
More information about the systemd-commits
mailing list