Index: /trunk/tiny-import.pl
===================================================================
--- /trunk/tiny-import.pl	(revision 518)
+++ /trunk/tiny-import.pl	(revision 519)
@@ -263,5 +263,5 @@
       $host =~ s/^=//;
       $host =~ s/\.$//;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -290,5 +290,5 @@
       $host =~ s/\.$//;
       $host =~ s/^\\052/*/;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -324,5 +324,5 @@
       $ns =~ s/\.$//;
       $ns = "$ns.ns.$zone" if $ns !~ /\./;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -358,5 +358,5 @@
       $rip =~ s/^\^//;
       $rip =~ s/\.$//;
-      $ttl = 1 if !$ttl;
+      $ttl = 1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -389,5 +389,5 @@
       $host =~ s/\.$//;
       $host =~ s/^\\052/*/;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -410,5 +410,5 @@
       $master =~ s/\.$//;
       $contact =~ s/\.$//;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -436,5 +436,5 @@
       $host =~ s/\.$//;
       $host = "$host.mx.$zone" if $host !~ /\./;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -461,5 +461,5 @@
       $fqdn =~ s/^\\052/*/;
       _deoctal(\$rdata);
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -488,5 +488,5 @@
       $ns =~ s/\.$//;
       $ns = "$ns.ns.$fqdn" if $ns !~ /\./;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
@@ -556,5 +556,5 @@
       $fqdn =~ s/\.$//;
       $fqdn =~ s/^\\052/*/;
-      $ttl = -1 if !$ttl;
+      $ttl = -1 if $ttl eq '';
       $stamp = '' if !$stamp;
       $loc = '' if !$loc;
