[Freeciv-Dev] (PR#10645) clinet.c does not compile under solaris
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#10645) clinet.c does not compile under solaris |
From: |
"Fredrik Tengblad" <tengfred@xxxxxxxxxxxxxx> |
Date: |
Wed, 20 Oct 2004 08:38:50 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10645 >
When I tried to compile the freeciv-2.0.0-beta1 under Solaris I got an
error for the file clinet.c. The following changes seems to fix it:
Original code:
clinet.c line 669:
void delete_server_list(struct server_list *server_list)
{
server_list_iterate(*server_list, ptmp)
int i;
int n = atoi(ptmp->nplayers);
free(ptmp->host);
free(ptmp->port);
Fixed code:
void delete_server_list(struct server_list *server_list)
{
int i;
int n;
server_list_iterate(*server_list, ptmp)
n = atoi(ptmp->nplayers);
free(ptmp->host);
free(ptmp->port);
Hope this is of use for you.
/Fredrik Tengblad
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#10645) clinet.c does not compile under solaris,
Fredrik Tengblad <=
|
|