Skip to content
Snippets Groups Projects
Commit f5cbd400 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

0 -> NULL.

parent 72b07c18
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ int tsig_rdata_set_alg(knot_rrset_t *tsig, tsig_algorithm_t alg)
const char *alg_str = tsig_alg_to_str(alg);
knot_dname_t *alg_name_copy = knot_dname_new_from_str(alg_str,
strlen(alg_str),
0);
NULL);
if (!alg_name_copy) {
return KNOT_ENOMEM;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment