diff options
Diffstat (limited to 'plugin/dnsnotify.c')
-rw-r--r-- | plugin/dnsnotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dnsnotify.c b/plugin/dnsnotify.c index c24b90c..58f4bec 100644 --- a/plugin/dnsnotify.c +++ b/plugin/dnsnotify.c @@ -269,7 +269,7 @@ notify_dns_slaves (char *zone, char **ns) if (write_all (dnsnotify_pipe, "NOTIFY: ", 8) < 0 || write_all (dnsnotify_pipe, zone, strlen (zone)) < 0 || write_all (dnsnotify_pipe, " ", 1) < 0 || - write_all (dnsnotify_pipe, *ns, strlen (*ns)) < 0 || + write_all (dnsnotify_pipe, n, strlen (n)) < 0 || write_all (dnsnotify_pipe, "\n", 1) < 0) { if (errno == EPIPE) { complete = 0; |