IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 1, 2008, 8:39:33 AM (18 years ago)
Author:
Paul Price
Message:

Don't error if the file rule can't be found --- it may not exist for all cameras.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r16817 r17264  
    167167void pmConfigDone(void)
    168168{
    169     if (configPath) { 
    170         psFree(configPath);
     169    if (configPath) {
     170        psFree(configPath);
    171171    }
    172172    configPath = NULL;
     
    441441    // XXX why was this being called here?  Is someone calling pmConfigRead multiple times?
    442442    // pmConfigDone();
    443     assert (configPath == NULL); 
    444 
    445     // define the config-file search path (configPath). 
     443    assert (configPath == NULL);
     444
     445    // define the config-file search path (configPath).
    446446    psString path = psMetadataLookupStr(NULL, config->user, "PATH");
    447447    pmConfigSet (path);
     
    589589
    590590    // XXX read TIME from SITE (or system?)
    591     { 
    592         bool mdok = true;
     591    {
     592        bool mdok = true;
    593593
    594594        // Initialise the psLib time handling
    595         // XXX is this still needed / desired?
     595        // XXX is this still needed / desired?
    596596        psString timeName = psMetadataLookupStr(&mdok, config->complete, "TIME");
    597597        if (mdok && timeName)
     
    15101510    }
    15111511
    1512     return psMetadataLookupMetadata(NULL, filerules, realname);
    1513 }
    1514 
     1512    return psMetadataLookupMetadata(&mdok, filerules, realname);
     1513}
     1514
Note: See TracChangeset for help on using the changeset viewer.