[Olsr-cvs] olsrd-current/lib/tas test.c,1.3,1.4

Bernd Petrovitsch (spam-protected)
Mon Sep 17 23:57:08 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/lib/tas
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10901/lib/tas

Modified Files:
	test.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: test.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/tas/test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** test.c	2 Sep 2007 22:17:00 -0000	1.3
--- test.c	17 Sep 2007 21:57:05 -0000	1.4
***************
*** 89,93 ****
        }
  
!       if (httpSetAddress(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set address\n");
--- 89,93 ----
        }
  
!       if (httpSetAddress(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set address\n");
***************
*** 105,109 ****
        }
  
!       if (httpSetPort(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set port\n");
--- 105,109 ----
        }
  
!       if (httpSetPort(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set port\n");
***************
*** 121,125 ****
        }
  
!       if (httpSetWorkDir(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set work directory\n");
--- 121,125 ----
        }
  
!       if (httpSetWorkDir(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set work directory\n");
***************
*** 137,141 ****
        }
  
!       if (httpSetRootDir(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set root directory\n");
--- 137,141 ----
        }
  
!       if (httpSetRootDir(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set root directory\n");
***************
*** 153,157 ****
        }
  
!       httpSetIndexFile(av[i], NULL, 0);
      }
  
--- 153,157 ----
        }
  
!       httpSetIndexFile(av[i], NULL, (set_plugin_parameter_addon){0});
      }
  
***************
*** 165,169 ****
        }
  
!       httpSetUser(av[i], NULL, 0);
      }
  
--- 165,169 ----
        }
  
!       httpSetUser(av[i], NULL, (set_plugin_parameter_addon){0});
      }
  
***************
*** 177,181 ****
        }
  
!       httpSetPassword(av[i], NULL, 0);
      }
  
--- 177,181 ----
        }
  
!       httpSetPassword(av[i], NULL, (set_plugin_parameter_addon){0});
      }
  
***************
*** 189,193 ****
        }
  
!       if (httpSetSessTime(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set session timeout\n");
--- 189,193 ----
        }
  
!       if (httpSetSessTime(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set session timeout\n");
***************
*** 205,209 ****
        }
  
!       httpSetPubDir(av[i], NULL, 0);
      }
  
--- 205,209 ----
        }
  
!       httpSetPubDir(av[i], NULL, (set_plugin_parameter_addon){0});
      }
  
***************
*** 217,221 ****
        }
  
!       if (httpSetQuantum(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set quantum\n");
--- 217,221 ----
        }
  
!       if (httpSetQuantum(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set quantum\n");
***************
*** 233,237 ****
        }
  
!       if (httpSetMessTime(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set message timeout\n");
--- 233,237 ----
        }
  
!       if (httpSetMessTime(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set message timeout\n");
***************
*** 249,253 ****
        }
  
!       if (httpSetMessLimit(av[i], NULL, 0) < 0)
        {
          fprintf(stderr, "cannot set message queue limit\n");
--- 249,253 ----
        }
  
!       if (httpSetMessLimit(av[i], NULL, (set_plugin_parameter_addon){0}) < 0)
        {
          fprintf(stderr, "cannot set message queue limit\n");





More information about the Olsr-cvs mailing list