Changeset 490


Ignore:
Timestamp:
Sep 23, 2010, 8:03:58 PM (11 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Remove ref to printAndExit from allocate.pl (irrelevant anyway since it's not a web
tool). See #3, #15, #26.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/cgi-bin/allocate.pl

    r431 r490  
    3838my $errstr;
    3939($ip_dbh,$errstr) = connectDB_My;
    40 if (!$ip_dbh) {
    41   printAndExit("Failed to connect to database: $errstr\n");
    42 }
     40die "Failed to connect to database: $errstr\n"
     41        if !$ip_dbh;
     42
    4343checkDBSanity($ip_dbh);
    4444initIPDBGlobals($ip_dbh);
Note: See TracChangeset for help on using the changeset viewer.