[Olsr-cvs] olsrd-current/src plugin_loader.c,1.30,1.31

Bernd Petrovitsch (spam-protected)
Fri Aug 31 00:25:16 CEST 2007


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

Modified Files:
	plugin_loader.c 
Log Message:
* always show an error

Index: plugin_loader.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/plugin_loader.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** plugin_loader.c	25 Aug 2007 19:48:42 -0000	1.30
--- plugin_loader.c	30 Aug 2007 22:25:13 -0000	1.31
***************
*** 212,216 ****
          plugin->register_param = dlsym(plugin->dlhandle, "olsrd_plugin_register_param");
          if(plugin->register_param == NULL) {
!             OLSR_PRINTF(1, "FAILED: \"%s\"\n", dlerror());
              return -1;
          } else {
--- 212,216 ----
          plugin->register_param = dlsym(plugin->dlhandle, "olsrd_plugin_register_param");
          if(plugin->register_param == NULL) {
!             OLSR_PRINTF(0, "FAILED: \"%s\"\n", dlerror());
              return -1;
          } else {





More information about the Olsr-cvs mailing list