Changeset 5856

Show
Ignore:
Timestamp:
07/23/08 17:57:41 (2 months ago)
Author:
rbertholon
Message:

little modifications of the block diagram

Location:
trunk/centstorage
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/centstorage/ChangeLog

    r5848 r5856  
    1111* fixed a f*****g segfault 
    1212* removing some useless files from the svn 
     13* little modifications of the block_diagram 
    1314 
    1415??? - 07/22/2008 
  • trunk/centstorage/src/reloadConf.c

    r5820 r5856  
    3030** tutu.conf during the execution). 
    3131** 
    32 ** You cannot load or unload module duriong the execution of centstorage. 
     32** You cannot load or unload module during the execution of centstorage. 
    3333** Maybe i'll change that. 
    3434*/ 
     
    5858/* 
    5959** This function contains the main loop. It checks the md5 of the configuration 
    60 ** file each second and load the new configuration if it has been modified. 
     60** file each and load the new configuration if it has been modified. 
    6161*/ 
    6262void                    *checkMd5ConfFile() 
     
    6565  unsigned char         *new_md5, *md5; 
    6666  conf_t                *saveConf; 
    67   //  char                      confFile[128]; 
    68   int                   ret; //, timeout; 
    69   //  unsigned short    unit; //archUnit, archTime, useArch; 
     67  int                   ret, log; 
    7068  unsigned char         tmp; 
    71   int                   log; 
    7269  time_t                t; 
    7370 
    74   /* copy the configuration path file to avoid access the struct conf 
    75      and so no mutexes ara locked after*/ 
    76   /*  LOCK_MUTEX(&mutex); 
    77   strncpy(confFile, conf->confFile, 127); 
    78  
    79   timeout = conf->timeout; 
    80   unit = conf->unit; 
    81   useArch = conf->logs->arch; 
    82   archUnit = conf->logs->unit; 
    83   archTime = conf->logs->time; 
    84   UNLOCK_MUTEX(&mutex);*/ 
    85  
    86   log = conf->logs->log; 
    8771  /* calculate the first md5 */ 
    8872  md5 = main_md5(conf->confFile);