[Splashy-devel] socket problem on 64bit
Luis
lemsx1 at gmail.com
Thu Oct 19 17:08:52 UTC 2006
Hello all,
I applied this patch to branches/0.2.1
Thanks krix on IRC for submitting this to us.
Please use that when creating packages for 0.2.x release. These are
just bug fixes. No new features will be added.
diff -Naur splashy-0.2.0.orig/src/splashy_functions.c
splashy-0.2.0/src/splashy_functions.c
--- splashy-0.2.0.orig/src/splashy_functions.c 2006-10-18
22:05:03.000000000 +0200
+++ splashy-0.2.0/src/splashy_functions.c 2006-10-18 22:15:07.000000000 +0200
@@ -383,7 +383,7 @@
struct ucred cred;
struct sockaddr cli_addr;
- size_t cl=sizeof(cred), cli_len = sizeof(cli_addr);
+ socklen_t cl=sizeof(cred), cli_len = sizeof(cli_addr);
char buf[buf_len], r_buf[buf_len];
if ((fd = accept (sock, &cli_addr, &cli_len)) < 0) {
--
----)(-----
Luis Mondesi
*NIX Guru
Kiskeyix.org
"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb
No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html
More information about the Splashy-devel
mailing list