summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-07 23:11:48 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-07 23:11:48 +0200
commitc92e531c82a9815ec349aa1bf31236b86b2d5311 (patch)
tree688cda1de0754a63bea0617b4ebf3bd13bad2e05 /src/resolve/resolved-manager.c
parent186fe1db20902b6542cee58ba499ced914d687a8 (diff)
resolved: make use of union in_addr_union in resolved, too
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r--src/resolve/resolved-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 0e2b85b5a9..9d073c725c 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -114,6 +114,8 @@ int manager_new(Manager **ret) {
_cleanup_manager_free_ Manager *m = NULL;
int r;
+ assert(ret);
+
m = new0(Manager, 1);
if (!m)
return -ENOMEM;