Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2005:
[Freeciv-Dev] (PR#12481) wrong accept type
Home

[Freeciv-Dev] (PR#12481) wrong accept type

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12481) wrong accept type
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Mar 2005 22:02:23 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12481 >

This patch fixes an error where the type of one of the parameters for 
accept is wrong.

-jason

Index: server/sernet.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/sernet.c,v
retrieving revision 1.137
diff -u -r1.137 sernet.c
--- server/sernet.c     8 Mar 2005 04:54:51 -0000       1.137
+++ server/sernet.c     11 Mar 2005 06:01:25 -0000
@@ -719,7 +719,7 @@
 # if defined(__VMS) && !defined(_DECC_V4_SOURCE)
     size_t fromlen;
 # else
-    int fromlen;
+  socklen_t fromlen;
 # endif
 
   int new_sock;

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#12481) wrong accept type, Jason Short <=