]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Thu, 12 Nov 2015 07:02:37 +0000 (07:02 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Thu, 12 Nov 2015 07:02:37 +0000 (07:02 +0000)
ev_win32.c

index a4692fd583b566adf05bdc2982ea9efaacfb33f9..fd671356a4a12f083dd41c830a524f7b4e3b6c49 100644 (file)
@@ -88,6 +88,8 @@ ev_pipe (int filedes [2])
   if (connect (sock [0], (struct sockaddr *)&addr, addr_size))
     goto fail;
 
+  /* TODO: returns INVALID_SOCKET on winsock accept, not < 0. fix it */
+  /* when convenient, probably by just removing error checking altogether? */
   if ((sock [1] = accept (listener, 0, 0)) < 0)
     goto fail;