summaryrefslogtreecommitdiff
path: root/games/daimonin/files/patch-src-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/daimonin/files/patch-src-socket.c')
-rw-r--r--games/daimonin/files/patch-src-socket.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/games/daimonin/files/patch-src-socket.c b/games/daimonin/files/patch-src-socket.c
deleted file mode 100644
index b3b066e35bd2..000000000000
--- a/games/daimonin/files/patch-src-socket.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- ../../src/socket.c.orig 2008-05-10 13:14:59.000000000 +0300
-+++ ../../src/socket.c 2008-05-10 13:15:04.000000000 +0300
-@@ -706,7 +706,9 @@
- start_timer = SDL_GetTicks();
- while (connect(*socket_temp, (struct sockaddr *) &insock, sizeof(insock)) == -1)
- {
-- SDL_Delay(3);
-+ // EINPROGRESS leads to EALREADY over few iterations
-+ if (errno == EALREADY) break;
-+ SDL_Delay(30);
- /* timeout.... without connect will REALLY hang a long time */
- if (start_timer + SOCKET_TIMEOUT_MS < SDL_GetTicks())
- {