Skip to content

Commit

Permalink
Remove extra alen arg from sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
resuna committed Mar 6, 2017
1 parent 9bf36c7 commit d8703ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tnm/generic/tnmDns.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ DnsDoQuery(char *query_string, int query_type, a_res *query_result)
if (alen <= 0) {
query_result->n = -1;
sprintf (query_result->u.str[0], "cannot send query '%s'; error %d",
query_string, alen, h_errno);
query_string, h_errno);
return;
}

Expand Down

0 comments on commit d8703ae

Please sign in to comment.