src/utils_dns.c: Rename the "s_addr" and "d_addr" variables.
authorFlorian Forster <octo@collectd.org>
Thu, 31 May 2012 13:09:43 +0000 (15:09 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 31 May 2012 13:09:43 +0000 (15:09 +0200)
commit0c1b6ab12216ce6fab16eb68e130aaf021b15e3c
tree7972dabdb43214a482f16476deff2825d707b9e8
parent1c10afb5bfaf55d8cf89e2b60b0618aa869dcc19
src/utils_dns.c: Rename the "s_addr" and "d_addr" variables.

On Solaris, there is a macro called "s_addr" resulting in syntax errors
when this is used as a variable name. The variables have been renamed to
circumvent this problem. Thanks to Maciej BliziƄski for reporting this
problem and helping to debug it!
src/utils_dns.c