diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 16:15:58 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-02 16:15:58 +0000 |
commit | 950eb09ae5ccb42ee3932e8c1272598800adfd8b (patch) | |
tree | 4c87ebdee918ba0fc57b3ef12edd59daca679203 /adig.c | |
parent | 3d0a7c00df25d17e20ed8569a9186a79a4bb9625 (diff) | |
download | c-ares-950eb09ae5ccb42ee3932e8c1272598800adfd8b.tar.gz c-ares-950eb09ae5ccb42ee3932e8c1272598800adfd8b.tar.bz2 c-ares-950eb09ae5ccb42ee3932e8c1272598800adfd8b.zip |
use the new single-argument ares_strerror()
Diffstat (limited to 'adig.c')
-rw-r--r-- | adig.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |