Commit 65fca9d0 authored by Daniel Salzman's avatar Daniel Salzman

zone-diff: code cleanup

parent f34a6a12
This diff is collapsed.
/* Copyright (C) 2015 CZ.NIC, z.s.p.o. <>
/* Copyright (C) 2016 CZ.NIC, z.s.p.o. <>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -22,9 +22,8 @@
* \brief Create diff between two zone trees.
* */
int zone_contents_create_diff(const zone_contents_t *z1,
const zone_contents_t *z2,
changeset_t *changeset);
int zone_contents_diff(const zone_contents_t *zone1, const zone_contents_t *zone2,
changeset_t *changeset);
* \brief Add diff between two zone trees into the changeset.
......@@ -190,7 +190,7 @@ int zone_load_post(conf_t *conf, zone_t *zone, zone_contents_t *contents,
if (ret != KNOT_EOK) {
return ret;
ret = zone_contents_create_diff(zone->contents, contents, &change);
ret = zone_contents_diff(zone->contents, contents, &change);
if (ret == KNOT_ENODIFF) {
log_zone_warning(zone->name, "failed to create journal "
"entry, zone file changed without "
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment