summaryrefslogtreecommitdiff
path: root/ev_win32.c
diff options
context:
space:
mode:
authorroot <root>2011-02-16 08:02:49 +0000
committerroot <root>2011-02-16 08:02:49 +0000
commit748f4fe50508fa0f8253355b62aa93873bdd6058 (patch)
tree90a30bc98913362dfc6354853cffebe02fa2b4bf /ev_win32.c
parent0eee55b11b154595ce4856ddda9802cdbacc4e86 (diff)
ws cleanup, changes
Diffstat (limited to 'ev_win32.c')
-rw-r--r--ev_win32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ev_win32.c b/ev_win32.c
index ee60ae6..338886e 100644
--- a/ev_win32.c
+++ b/ev_win32.c
@@ -6,14 +6,14 @@
*
* Redistribution and use in source and binary forms, with or without modifica-
* tion, are permitted provided that the following conditions are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
- *
+ *
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER-
* CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
@@ -46,7 +46,7 @@
/* MSDN says this is required to handle SIGFPE */
/* my wild guess would be that using something floating-pointy is required */
/* for the crt to do something about it */
-volatile double SIGFPE_REQ = 0.0f;
+volatile double SIGFPE_REQ = 0.0f;
/* oh, the humanity! */
static int
@@ -59,7 +59,7 @@ ev_pipe (int filedes [2])
SOCKET listener;
SOCKET sock [2] = { -1, -1 };
- if ((listener = socket (AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
+ if ((listener = socket (AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
return -1;
addr.sin_family = AF_INET;
@@ -75,7 +75,7 @@ ev_pipe (int filedes [2])
if (listen (listener, 1))
goto fail;
- if ((sock [0] = socket (AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
+ if ((sock [0] = socket (AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
goto fail;
if (connect (sock [0], (struct sockaddr *)&addr, addr_size))