[Olsr-cvs] olsrd-current/lib/secure/src olsrd_secure.c,1.24,1.25

Bernd Petrovitsch (spam-protected)
Wed May 9 19:41:20 CEST 2007


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

Modified Files:
	olsrd_secure.c 
Log Message:
 ntohl() returns "unsigned long" on win32

Index: olsrd_secure.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_secure.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** olsrd_secure.c	9 May 2007 17:29:53 -0000	1.24
--- olsrd_secure.c	9 May 2007 17:41:17 -0000	1.25
***************
*** 753,757 ****
      }
  
!   olsr_printf(3, "[ENC]Challenge: 0x%lx\n", ntohl(msg->challenge));
  
    /* Check signature */
--- 753,757 ----
      }
  
!   olsr_printf(3, "[ENC]Challenge: 0x%lx\n", (unsigned long)ntohl(msg->challenge)); /* ntohl() returns a unsignedlong onwin32 */
  
    /* Check signature */
***************
*** 980,984 ****
      }
  
!   olsr_printf(3, "[ENC]Challenge: 0x%lx\n", ntohl(msg->challenge));
  
    /* Check signature */
--- 980,984 ----
      }
  
!   olsr_printf(3, "[ENC]Challenge: 0x%lx\n", (unsigned long)ntohl(msg->challenge)); /* ntohl() returns a unsignedlong onwin32 */
  
    /* Check signature */





More information about the Olsr-cvs mailing list