Skip to content

Commit

Permalink
Another fix to PTR conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed May 1, 2014
1 parent 440bef8 commit 2af836a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ rdns_generate_ptr_from_str (const char *str)
len = 4 * 4 + sizeof ("in-addr.arpa");
res = malloc (len);
if (res) {
snprintf (res, len, "%uc.%uc.%uc.%uc.in-addr.arpa",
snprintf (res, len, "%c.%c.%c.%c.in-addr.arpa",
bytes[3], bytes[2], bytes[1], bytes[0]);
}
}
Expand Down

0 comments on commit 2af836a

Please sign in to comment.