[pisa-src] r1658 - trunk/community-operator/co_server.c

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 12 Nov 2009 14:00:26 +0100

Author: gherzan
Date: Thu Nov 12 14:00:26 2009
New Revision: 1658

Log:
co: fix another socklen_t-related warning

community-operator/co_server.c:240: error: passing argument 6 of 
‘recvfrom’ from incompatible pointer type

Modified:
   trunk/community-operator/co_server.c

Modified: trunk/community-operator/co_server.c
==============================================================================
--- trunk/community-operator/co_server.c        Thu Nov 12 13:57:52 2009        
(r1657)
+++ trunk/community-operator/co_server.c        Thu Nov 12 14:00:26 2009        
(r1658)
@@ -194,7 +194,7 @@
        signal(SIGBUS, co_quit);
 
        int received;
-       size_t addrlen;
+       socklen_t addrlen;
        char *addr_string;
        co_packet *packet;
        struct sockaddr_in6 cl_addr;

Other related posts:

  • » [pisa-src] r1658 - trunk/community-operator/co_server.c - Mircea Gherzan