Section One BBS

Welcome, Guest.


Subject: makenl msgids Date: Mon Jul 29 2019 02:34 am
From: Andrew Leary To: mark lewis

Hello mark!

29 Jul 19 00:21, you wrote to all:

 ml>> has anyone else noticed that makenl is generating 10 character
 ml>> serial numbers?

 ml> the problem is here... specifically, %08lx does not set the maximum
 ml> length... only the minimum...

 ml>     fprintf(MailFILE, "\x01MSGID: %d:%d/%d %08lx\r\n",
 ml> MyAddress[A_ZONE],
 ml>             MyAddress[A_NET], MyAddress[A_NODE], GetSequence());


You are correct.  This is only a problem in 64-bit versions, because in 32-bit
versions an unsigned long int will never exceed 8 hexadecimal characters.

Thanks for the report; I'll get it fixed.

Andrew

--- GoldED+/LNX 1.1.5-b20180707
 * Origin: Phoenix BBS * phoenix.bnbbbs.net (1:320/219)

Previous Message       Next Message
In Reply To: makenl msgids (mark lewis)
Replies: makenl msgids (andrew clarke)