summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 2b7eb8d..6649eea 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -524,7 +524,7 @@ BUILD_FUNC_DEF_2(makesockaddr,struct sockaddr *,addr, int,addrlen)
}
#ifdef __BEOS__
- /* XXX: BeOS version of accept() doesn't set family coreectly */
+ /* XXX: BeOS version of accept() doesn't set family correctly */
addr->sa_family = AF_INET;
#endif
@@ -2526,6 +2526,9 @@ initsocket()
#ifdef MSG_DONTROUTE
insint(d, "MSG_DONTROUTE", MSG_DONTROUTE);
#endif
+#ifdef MSG_DONTWAIT
+ insint(d, "MSG_DONWAIT", MSG_DONTWAIT);
+#endif
#ifdef MSG_EOR
insint(d, "MSG_EOR", MSG_EOR);
#endif