projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f00c1c
)
Cleanup WIN32 target using WSACleanup().
author
Gisle Vanem
<gvanem@broadpark.no>
Wed, 21 Feb 2007 15:01:51 +0000
(15:01 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Wed, 21 Feb 2007 15:01:51 +0000
(15:01 +0000)
adig.c
patch
|
blob
|
history
ahost.c
patch
|
blob
|
history
diff --git
a/adig.c
b/adig.c
index
a019d7c
..
6521378
100644
(file)
--- a/
adig.c
+++ b/
adig.c
@@
-294,6
+294,11
@@
int main(int argc, char **argv)
}
ares_destroy(channel);
+
+#ifdef USE_WINSOCK
+ WSACleanup();
+#endif
+
return 0;
}
diff --git
a/ahost.c
b/ahost.c
index
6767b30
..
2fa6dac
100644
(file)
--- a/
ahost.c
+++ b/
ahost.c
@@
-143,6
+143,11
@@
int main(int argc, char **argv)
}
ares_destroy(channel);
+
+#ifdef USE_WINSOCK
+ WSACleanup();
+#endif
+
return 0;
}