Added leading zero's for generated msgids

This commit is contained in:
Michiel Broek 2005-09-07 20:48:18 +00:00
parent 9937aa1b96
commit 0932ba1c34
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ v0.71.6 02-Sep-2005
mbnntp:
Removed some debug logging.
Added leading zeros for generated msgid's.
v0.71.5 18-Aug-2005 - 02-Sep-2005

View File

@ -100,7 +100,7 @@ char *make_msgid(char *msgid)
{
static char buf[100];
snprintf(buf, 100, "<%8lx$%s@%s>", StringCRC32(msgid), currentgroup, CFG.sysdomain);
snprintf(buf, 100, "<%08lx$%s@%s>", StringCRC32(msgid), currentgroup, CFG.sysdomain);
return buf;
}