Commit 1e06bfe
committed
Fix caching bug in Nameserver::new()
A nameserver constructed with a name of "0" could be mistakenly cached
as having no name, because in Perl, the string "0" is falsey. It’s
better to test for string emptyness instead.1 parent 06d23fb commit 1e06bfe
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments