[Olsr-cvs] olsrd-current/lib/secure/src olsrd_plugin.c,1.14,1.15
Bernd Petrovitsch
(spam-protected)
Mon Sep 17 23:57:07 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/lib/secure/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10901/lib/secure/src
Modified Files:
olsrd_plugin.c
Log Message:
- applied 115-olsrd-nameserviceparamfix.patch and
116-olsrd-fix-pluginparam-addons.patch by Sven-Ola Tücke
<(spam-protected)> fixing the compilation warning on 64bit.
Index: olsrd_plugin.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/src/olsrd_plugin.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** olsrd_plugin.c 25 Aug 2007 19:48:42 -0000 1.14
--- olsrd_plugin.c 17 Sep 2007 21:57:05 -0000 1.15
***************
*** 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;
--- 91,97 ----
}
! static int store_string(const char *value, void *data, set_plugin_parameter_addon addon __attribute__((unused)))
{
char *str = data;
snprintf(str, FILENAME_MAX+1, "%s", value);
return 0;
More information about the Olsr-cvs
mailing list