1
0
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:
Adam
2012-10-27 04:44:10 -04:00
parent e1dcf24c98
commit 32d33ca8e5
+1 -1
View File
@@ -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
{