[Olsr-cvs] olsrd-current/lib/secure/src olsrd_secure.c,1.22,1.23

Bernd Petrovitsch (spam-protected)
Thu Apr 26 00:08:10 CEST 2007


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

Modified Files:
	olsrd_secure.c 
Log Message:
* OLSR_PRINTF() is now a real C expression
* removed superflous type-casts


Index: olsrd_secure.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_secure.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** olsrd_secure.c	20 Apr 2007 13:46:03 -0000	1.22
--- olsrd_secure.c	25 Apr 2007 22:08:07 -0000	1.23
***************
*** 705,709 ****
  
    /* Add to buffer */
!   net_outbuffer_push(olsr_in_if, (olsr_u8_t *)&cmsg, sizeof(struct challengemsg));
  
    /* Send the request */
--- 705,709 ----
  
    /* Add to buffer */
!   net_outbuffer_push(olsr_in_if, &cmsg, sizeof(struct challengemsg));
  
    /* Send the request */
***************
*** 1100,1104 ****
  
    /* Add to buffer */
!   net_outbuffer_push(olsr_in_if, (olsr_u8_t *)&crmsg, sizeof(struct c_respmsg));
    /* Send the request */
    net_output(olsr_in_if);
--- 1100,1104 ----
  
    /* Add to buffer */
!   net_outbuffer_push(olsr_in_if, &crmsg, sizeof(struct c_respmsg));
    /* Send the request */
    net_output(olsr_in_if);
***************
*** 1177,1181 ****
  
    /* add to buffer */
!   net_outbuffer_push(olsr_in_if, (olsr_u8_t *)&rrmsg, sizeof(struct r_respmsg));
  
    /* Send the request */
--- 1177,1181 ----
  
    /* add to buffer */
!   net_outbuffer_push(olsr_in_if, &rrmsg, sizeof(struct r_respmsg));
  
    /* Send the request */





More information about the Olsr-cvs mailing list