[Olsr-cvs] olsrd-current/src lq_route.c, 1.54, 1.55 packet.c, 1.24, 1.25

Bernd Petrovitsch (spam-protected)
Sat Oct 20 17:16:34 CEST 2007


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

Modified Files:
	lq_route.c packet.c 
Log Message:
* fixed more compile bugs if DEBUG is enabled

Index: lq_route.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/lq_route.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** lq_route.c	20 Oct 2007 12:59:08 -0000	1.54
--- lq_route.c	20 Oct 2007 15:16:32 -0000	1.55
***************
*** 186,190 ****
  #ifdef DEBUG
    OLSR_PRINTF(1, "SPF: exploring node %s, cost %f\n",
!               olsr_ip_to_string(&(vert->addr)),
                vert->path_etx);
  #endif
--- 186,190 ----
  #ifdef DEBUG
    OLSR_PRINTF(1, "SPF: exploring node %s, cost %f\n",
!               olsr_ip_to_string(&vert->addr),
                vert->path_etx);
  #endif
***************
*** 225,229 ****
        OLSR_PRINTF(1, "SPF:   exploring edge %s, cost %s\n",
                    olsr_ip_to_string(&(tc_edge->T_dest_addr)),
!                   olsr_etx_to_string(new_vert->path_etx));
  #endif
  
--- 225,229 ----
        OLSR_PRINTF(1, "SPF:   exploring edge %s, cost %s\n",
                    olsr_ip_to_string(&(tc_edge->T_dest_addr)),
!                   olsr_etx_to_string(new_etx));
  #endif
  

Index: packet.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/packet.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** packet.c	20 Oct 2007 12:59:08 -0000	1.24
--- packet.c	20 Oct 2007 15:16:32 -0000	1.25
***************
*** 94,98 ****
  
  #ifdef DEBUG
!   OLSR_PRINTF(3, "\tBuilding HELLO on interface %d\n", outif->int_name);
  #endif
  
--- 94,98 ----
  
  #ifdef DEBUG
!   OLSR_PRINTF(3, "\tBuilding HELLO on interface %s\n", outif->int_name);
  #endif
  





More information about the Olsr-cvs mailing list