IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 22, 2008, 10:21:52 AM (18 years ago)
Author:
eugene
Message:

using new user/site/system construction for config files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pxtables.c

    r16588 r16611  
    116116    PS_ASSERT_PTR_NON_NULL(config, false);
    117117
    118     psString dbName = psMetadataLookupStr(&status, config->modules->site, "DBNAME");
     118    // XXX use the values defined in config->dbh?
     119    psString dbName = psMetadataLookupStr(&status, config->modules->complete, "DBNAME");
    119120
    120121    fprintf (stdout, "*** delete the chip tables from database %s? ***\n", dbName);
     
    136137    {
    137138        bool status;
    138         psString dbPassword = psMetadataLookupStr(&status, config->modules->site, "DBPASSWORD");
     139        psString dbPassword = psMetadataLookupStr(&status, config->modules->complete, "DBPASSWORD");
    139140        if (strcmp (answer, dbPassword)) {
    140141            psError(PS_ERR_UNKNOWN, true, "tables NOT deleleted");
Note: See TracChangeset for help on using the changeset viewer.