projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e41493
)
Use closesocket macro consistently, not close directly, for easier
author
Bodo Möller
<bodo@openssl.org>
Fri, 3 Sep 1999 14:06:09 +0000
(14:06 +0000)
committer
Bodo Möller
<bodo@openssl.org>
Fri, 3 Sep 1999 14:06:09 +0000
(14:06 +0000)
portability.
Submitted by: Lennart Bång
e_os.h
patch
|
blob
|
history
diff --git
a/e_os.h
b/e_os.h
index
58934d1
..
5eaa3cc
100644
(file)
--- a/
e_os.h
+++ b/
e_os.h
@@
-320,8
+320,8
@@
extern HINSTANCE _hInstance;
# define SSLeay_Read(a,b,c) read((a),(b),(c))
# define SSLeay_Write(a,b,c) write((a),(b),(c))
-# define SHUTDOWN(fd) { shutdown((fd),0); close((fd)); }
-# define SHUTDOWN2(fd) { shutdown((fd),2); close((fd)); }
+# define SHUTDOWN(fd) { shutdown((fd),0); close
socket
((fd)); }
+# define SHUTDOWN2(fd) { shutdown((fd),2); close
socket
((fd)); }
# define INVALID_SOCKET (-1)
# endif
#endif