Diff for /rpl/src/librpl.c between versions 1.7 and 1.8

version 1.7, 2010/03/17 14:14:36 version 1.8, 2010/03/25 17:33:15
Line 23 Line 23
 #include "rpl.conv.h"  #include "rpl.conv.h"
   
 unsigned char **  unsigned char **
 rpl(unsigned char *script)  rpl(unsigned char *script, unsigned char *rpl_home)
 {  {
     char                        *argv[3];      char                        *argv[3];
   
Line 44  rpl(unsigned char *script) Line 44  rpl(unsigned char *script)
         return(NULL);          return(NULL);
     }      }
   
     succes = rplinit(argc, argv, &resultats, getenv("RPL_HOME"));      if (rpl_home == NULL)
       {
           rpl_home = getenv("RPL_HOME");
       }
   
       succes = rplinit(argc, argv, &resultats, rpl_home);
   
     if (succes != EXIT_SUCCESS)      if (succes != EXIT_SUCCESS)
     {      {

Removed from v.1.7  
changed lines
  Added in v.1.8


CVSweb interface <joel.bertrand@systella.fr>