[Olsr-cvs] olsrd-current/lib/secure/src olsrd_plugin.c,1.13,1.14

Bernd Petrovitsch (spam-protected)
Sat Aug 25 21:48:44 CEST 2007


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

Modified Files:
	olsrd_plugin.c 
Log Message:
* Patch from Sven-Ola Tuecke to convert more plugins to the new interface.


Index: olsrd_plugin.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_plugin.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** olsrd_plugin.c	15 Jul 2007 21:47:17 -0000	1.13
--- olsrd_plugin.c	25 Aug 2007 19:48:42 -0000	1.14
***************
*** 91,97 ****
  }
  
! static int store_string(const char *value, void *data)
  {
    char *str = data;
    snprintf(str, FILENAME_MAX+1, "%s", value);
    return 0;
--- 91,98 ----
  }
  
! static int store_string(const char *value, void *data, unsigned int addon)
  {
    char *str = data;
+   if (addon) {}
    snprintf(str, FILENAME_MAX+1, "%s", value);
    return 0;





More information about the Olsr-cvs mailing list