Commit bee65cf8 authored by Dafydd Harries's avatar Dafydd Harries

stun-client: rename variable as h_errno is an extern

darcs-hash:20070212155648-c9803-0d008b316342fbe6f704cb01de70d5a9e4c2871f.gz
parent b9e9609e
...@@ -16,12 +16,12 @@ static gboolean ...@@ -16,12 +16,12 @@ static gboolean
resolve (const gchar *name, struct hostent *ret) resolve (const gchar *name, struct hostent *ret)
{ {
int res; int res;
int h_errno; int err;
struct hostent *he; struct hostent *he;
gchar buf[1024]; gchar buf[1024];
res = gethostbyname_r (name, ret, buf, sizeof (buf) / sizeof (gchar), &he, res = gethostbyname_r (name, ret, buf, sizeof (buf) / sizeof (gchar), &he,
&h_errno); &err);
return (res == 0); return (res == 0);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment