mirror of
https://github.com/anope/anope.git
synced 2026-07-04 13:13:14 +02:00
Expand single digit serial revisions to match nn
This commit is contained in:
+1
-1
@@ -919,7 +919,7 @@ void DNSManager::UpdateSerial()
|
||||
++last_num;
|
||||
|
||||
int i = strftime(timebuf, sizeof(timebuf), "%Y%m%d", tm);
|
||||
snprintf(timebuf + i, sizeof(timebuf) - i, "%d", last_num);
|
||||
snprintf(timebuf + i, sizeof(timebuf) - i, "%02d", last_num);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user