LCOV - code coverage report
Current view: top level - src/lib/srv/mod-udpd - mod-udpd-info.c (source / functions) Hit Total Coverage
Test: liquidwar6.info Lines: 5 5 100.0 %
Date: 2014-03-26 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /*
       2             :   Liquid War 6 is a unique multiplayer wargame.
       3             :   Copyright (C)  2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014  Christian Mauduit <ufoot@ufoot.org>
       4             : 
       5             :   This program is free software; you can redistribute it and/or modify
       6             :   it under the terms of the GNU General Public License as published by
       7             :   the Free Software Foundation, either version 3 of the License, or
       8             :   (at your option) any later version.
       9             : 
      10             :   This program is distributed in the hope that it will be useful,
      11             :   but WITHOUT ANY WARRANTY; without even the implied warranty of
      12             :   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      13             :   GNU General Public License for more details.
      14             : 
      15             :   You should have received a copy of the GNU General Public License
      16             :   along with this program.  If not, see <http://www.gnu.org/licenses/>.
      17             : 
      18             : 
      19             :   Liquid War 6 homepage : http://www.gnu.org/software/liquidwar6/
      20             :   Contact author        : ufoot@ufoot.org
      21             : */
      22             : 
      23             : #ifdef HAVE_CONFIG_H
      24             : #include "config.h"
      25             : #endif
      26             : 
      27             : #include "../srv.h"
      28             : #include "mod-udpd-internal.h"
      29             : 
      30             : char *
      31          33 : _mod_udpd_repr (_mod_udpd_context_t * udpd_context,
      32             :                 lw6cnx_connection_t * connection)
      33             : {
      34          33 :   char *ret = NULL;
      35             : 
      36          33 :   ret =
      37          33 :     lw6sys_new_sprintf (_x_ ("udpd connexion with %s:%d"),
      38             :                         connection->remote_ip, connection->remote_port);
      39             : 
      40          33 :   return ret;
      41             : }

Generated by: LCOV version 1.10