aboutsummaryrefslogtreecommitdiff
path: root/ares/adig.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-02 16:15:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-02 16:15:58 +0000
commit462d1c523158b2a064ed477d24246f6813d521c9 (patch)
treefe03d5975f8053dee1823d6c17c19dfcc27fffa4 /ares/adig.c
parent886391d145854fa420847d60cb080f29dd3a5af2 (diff)
use the new single-argument ares_strerror()
Diffstat (limited to 'ares/adig.c')
-rw-r--r--ares/adig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 59ca1247b..706a1b26e 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -239,7 +239,7 @@ int main(int argc, char **argv)
if (status != ARES_SUCCESS)
{
fprintf(stderr, "ares_init_options: %s\n",
- ares_strerror(status, &errmem));
+ ares_strerror(status));
ares_free_errmem(errmem);
return 1;
}
@@ -295,7 +295,7 @@ static void callback(void *arg, int status, unsigned char *abuf, int alen)
*/
if (status != ARES_SUCCESS)
{
- printf("%s\n", ares_strerror(status, &errmem));
+ printf("%s\n", ares_strerror(status));
ares_free_errmem(errmem);
if (!abuf)
return;