projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0818610
)
Make loop much faster, thanks to Paul Gear
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 11 May 2010 17:27:49 +0000
(10:27 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 11 May 2010 17:27:49 +0000
(10:27 -0700)
bind8/records-lib.pl
patch
|
blob
|
history
diff --git
a/bind8/records-lib.pl
b/bind8/records-lib.pl
index
16a6c23
..
b32b7ec
100755
(executable)
--- a/
bind8/records-lib.pl
+++ b/
bind8/records-lib.pl
@@
-752,7
+752,9
@@
if ($config{'soa_style'} == 1 && $old =~ /^(\d{8})(\d\d)$/) {
elsif ($config{'soa_style'} == 2) {
# Unix time
local $rv = time();
- while($rv <= $old) { $rv++; }
+ while($rv <= $old) {
+ $rv = $old + 1;
+ }
return $rv;
}
else {