[Olsr-cvs] olsrd-current/src plugin_util.c,1.1,1.2

Bernd Petrovitsch (spam-protected)
Fri Jul 20 14:26:00 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10161/src

Modified Files:
	plugin_util.c 
Log Message:
* port numbers are "int" and not "unsigned int"

Index: plugin_util.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/plugin_util.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** plugin_util.c	15 Jul 2007 17:46:46 -0000	1.1
--- plugin_util.c	20 Jul 2007 12:25:56 -0000	1.2
***************
*** 57,61 ****
      }
      if (data != NULL) {
!         unsigned int *v = data;
          *v = port;
          OLSR_PRINTF(1, "%s port number %u\n", "Got", port);
--- 57,61 ----
      }
      if (data != NULL) {
!         int *v = data;
          *v = port;
          OLSR_PRINTF(1, "%s port number %u\n", "Got", port);





More information about the Olsr-cvs mailing list