SOURCES: frozen-bubble-kill-warning.patch (NEW) - kill warning on ...
sparky
sparky at pld-linux.org
Sun Oct 29 14:30:45 CET 2006
Author: sparky Date: Sun Oct 29 13:30:44 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- kill warning on amd64
---- Files affected:
SOURCES:
frozen-bubble-kill-warning.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/frozen-bubble-kill-warning.patch
diff -u /dev/null SOURCES/frozen-bubble-kill-warning.patch:1.1
--- /dev/null Sun Oct 29 14:30:44 2006
+++ SOURCES/frozen-bubble-kill-warning.patch Sun Oct 29 14:30:39 2006
@@ -0,0 +1,21 @@
+diff -Nur frozen-bubble-2.0.0.orig/server/net.c frozen-bubble-2.0.0.warning/server/net.c
+--- frozen-bubble-2.0.0.orig/server/net.c 2006-10-27 10:30:13.000000000 +0000
++++ frozen-bubble-2.0.0.warning/server/net.c 2006-10-29 13:23:21.000000000 +0000
+@@ -335,7 +335,7 @@
+ void connections_manager(void)
+ {
+ struct sockaddr_in client_addr;
+- ssize_t len = sizeof(client_addr);
++ socklen_t len = sizeof(client_addr);
+ struct timeval tv;
+ static char * greets_msg = NULL;
+ double now, delta, rate;
+@@ -391,7 +391,7 @@
+ conns = new_conns;
+
+ if (tcp_server_socket != -1 && FD_ISSET(tcp_server_socket, &conns_set)) {
+- if ((fd = accept(tcp_server_socket, (struct sockaddr *) &client_addr, (socklen_t *) &len)) == -1) {
++ if ((fd = accept(tcp_server_socket, (struct sockaddr *) &client_addr, &len)) == -1) {
+ l1(OUTPUT_TYPE_ERROR, "accept: %s", strerror(errno));
+ continue;
+ }
================================================================
More information about the pld-cvs-commit
mailing list