projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2979 from akoeplinger/tests-simplify
[mono.git]
/
mono
/
utils
/
networking-posix.c
diff --git
a/mono/utils/networking-posix.c
b/mono/utils/networking-posix.c
index 6a82e68b5a60add404b2d2c00599862fee10d01a..ede69be85f35d83385d2d8acd2e6f5faf3fd44d2 100644
(file)
--- a/
mono/utils/networking-posix.c
+++ b/
mono/utils/networking-posix.c
@@
-73,9
+73,9
@@
mono_get_address_info (const char *hostname, int port, int flags, MonoAddressInf
#endif
sprintf (service_name, "%d", port);
- MONO_
PREPARE_BLOCKING
;
+ MONO_
ENTER_GC_SAFE
;
ret = getaddrinfo (hostname, service_name, &hints, &info);
- MONO_
FINISH_BLOCKING
;
+ MONO_
EXIT_GC_SAFE
;
if (ret)
return 1; /* FIXME propagate the error */