Changeset 441


Ignore:
Timestamp:
11/15/12 11:32:47 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix coding thinko in export; not sure why I thought $host, $type, and $val
would be references right after being filled in by $sth->fetchrow_array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r439 r441  
    46564656
    46574657        # Spaces are evil.
    4658         $$host =~ s/^\s+//;
    4659         $$host =~ s/\s+$//;
    4660         if ($typemap{$$type} ne 'TXT') {
     4658        $host =~ s/^\s+//;
     4659        $host =~ s/\s+$//;
     4660        if ($typemap{$type} ne 'TXT') {
    46614661          # Leading or trailng spaces could be legit in TXT records.
    4662           $$val =~ s/^\s+//;
    4663           $$val =~ s/\s+$//;
     4662          $val =~ s/^\s+//;
     4663          $val =~ s/\s+$//;
    46644664        }
    46654665
Note: See TracChangeset for help on using the changeset viewer.