[Olsr-cvs] olsrd-current/src duplicate_set.c,1.17,1.18

Bernd Petrovitsch (spam-protected)
Thu Nov 8 16:34:13 CET 2007


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

Modified Files:
	duplicate_set.c 
Log Message:
* killed a superflous variable

Index: duplicate_set.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/duplicate_set.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** duplicate_set.c	21 Oct 2007 20:15:51 -0000	1.17
--- duplicate_set.c	8 Nov 2007 15:34:11 -0000	1.18
***************
*** 50,55 ****
  static struct dup_entry dup_set[HASHSIZE];
  
- static float dup_hold_time = DUP_HOLD_TIME;
- 
  /**
   *Initialize the duplicate table entrys
--- 50,53 ----
***************
*** 103,107 ****
    new_dup_entry->seqno = seqno;
    /* Set timer */
!   new_dup_entry->timer = GET_TIMESTAMP(dup_hold_time*1000);
    /* Interfaces */
    new_dup_entry->ifaces = NULL;
--- 101,105 ----
    new_dup_entry->seqno = seqno;
    /* Set timer */
!   new_dup_entry->timer = GET_TIMESTAMP(DUP_HOLD_TIME*1000);
    /* Interfaces */
    new_dup_entry->ifaces = NULL;
***************
*** 293,297 ****
    
    /* Set timer */
!   tmp_dup_table->timer = GET_TIMESTAMP(dup_hold_time*1000);
    
    return 1;
--- 291,295 ----
    
    /* Set timer */
!   tmp_dup_table->timer = GET_TIMESTAMP(DUP_HOLD_TIME*1000);
    
    return 1;
***************
*** 332,336 ****
    
    /* Set timer */
!   tmp_dup_table->timer = GET_TIMESTAMP(dup_hold_time*1000);
    
    return 1;
--- 330,334 ----
    
    /* Set timer */
!   tmp_dup_table->timer = GET_TIMESTAMP(DUP_HOLD_TIME*1000);
    
    return 1;





More information about the Olsr-cvs mailing list