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:
9099a9e
)
ares_search: use ERRNO macro for portability sake
author
Yang Tse
<yangsita@gmail.com>
Tue, 22 Mar 2011 19:50:42 +0000
(20:50 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 22 Mar 2011 19:50:42 +0000
(20:50 +0100)
ares_search.c
patch
|
blob
|
history
diff --git
a/ares_search.c
b/ares_search.c
index
9face5f
..
1877c19
100644
(file)
--- a/
ares_search.c
+++ b/
ares_search.c
@@
-291,7
+291,7
@@
static int single_domain(ares_channel channel, const char *name, char **s)
}
else
{
- error =
errno
;
+ error =
ERRNO
;
switch(error)
{
case ENOENT: