Changeset 121 for trunk/DNSDB.pm


Ignore:
Timestamp:
09/08/11 18:09:58 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

checkpoint
Flesh out getSOA() stub in dns-rpc.cgi
Tweak getSOA() in DNSDB.pm for better error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r118 r121  
    10481048  $sth->execute($id);
    10491049
    1050   my ($recid,$host,$val,$ttl,$serial) = $sth->fetchrow_array();
     1050  my ($recid,$host,$val,$ttl,$serial) = $sth->fetchrow_array() or return;
    10511051  my ($prins,$contact) = split /:/, $host;
    10521052  my ($refresh,$retry,$expire,$minttl) = split /:/, $val;
Note: See TracChangeset for help on using the changeset viewer.