diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-05-07 20:14:12 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-05-07 20:14:12 +0200 |
commit | a3925cfc4a332acf6d62da162a407673a78c028e (patch) | |
tree | 790eedda6c5fa6d3390ed87026bc48fc3ba1692e /src | |
parent | c0e1c65491f9d6726b16f107c25f2e5787e7e2ec (diff) | |
download | 0tdns-a3925cfc4a332acf6d62da162a407673a78c028e.tar.gz 0tdns-a3925cfc4a332acf6d62da162a407673a78c028e.zip |
change logging approach
Diffstat (limited to 'src')
-rw-r--r-- | src/0tDNS.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/0tDNS.c b/src/0tDNS.c index fbd3a78..0170dd6 100644 --- a/src/0tDNS.c +++ b/src/0tDNS.c @@ -243,7 +243,7 @@ struct ztdns_instance *ztdns_create_instance(int argc, char **argv) /* This is an example of how rest of the code shold be * written/rewritten to use our logging facility. */ - ztdns_log(ERROR, "No memory, no fun :(\n"); + ztdns_error("No memory, no fun :(\n"); return NULL; } |