Fix for missing address from long Origin lines

This commit is contained in:
Michiel Broek 2004-09-12 12:59:38 +00:00
parent 2aeb07fd7a
commit 61f6f537c8
4 changed files with 6 additions and 5 deletions

View File

@ -81,6 +81,7 @@ v0.61.4 11-Aug-2004
The fake nodenumber is now obtained from mbtask instead of a
count of tty line records so the used nodenumbers will be a lot
lower then before.
Changed Msg_Read from 78 to 79 characters.
mbnewusr:
During program exit, it tried to remove the wrong socket to

View File

@ -436,7 +436,7 @@ int Read_a_Email(unsigned long Num)
* Show message text
*/
colour(CFG.TextColourF, CFG.TextColourB);
if (Msg_Read(Num, 78)) {
if (Msg_Read(Num, 79)) {
if ((p = (char *)MsgText_First()) != NULL) {
do {
if (p[0] == '\001') {

View File

@ -1267,7 +1267,7 @@ int Read_a_Msg(unsigned long Num, int UpdateLR)
* Show message text
*/
colour(CFG.TextColourF, CFG.TextColourB);
if (Msg_Read(Num, 78)) {
if (Msg_Read(Num, 79)) {
if ((p = (char *)MsgText_First()) != NULL) {
do {
if ((p[0] == '\001') || (!strncmp(p, "SEEN-BY:", 8)) || (!strncmp(p, "AREA:", 5))) {

View File

@ -1942,7 +1942,7 @@ unsigned long BlueWave_PackArea(unsigned long ulLast, long Area)
if (Msg_Next(&Number)) {
do {
Msg_ReadHeader(Number);
Msg_Read(Number, 78);
Msg_Read(Number, 79);
Pack = TRUE;
if ((strcasecmp(Msg.To, exitinfo.sUserName) == 0) || (strcasecmp(Msg.To, exitinfo.sHandle) == 0)) {
@ -2620,7 +2620,7 @@ unsigned long QWK_PackArea(unsigned long ulLast, long Area)
if (Msg_Next(&Number)) {
do {
Msg_ReadHeader(Number);
Msg_Read(Number, 78);
Msg_Read(Number, 79);
Pack = TRUE;
if ((strcasecmp(Msg.To, exitinfo.sUserName) == 0) || (strcasecmp(Msg.To, exitinfo.sHandle) == 0)) {
Personal++;
@ -2899,7 +2899,7 @@ unsigned long ASCII_PackArea(unsigned long ulLast, long Area)
if (Msg_Next(&Number)) {
do {
Msg_ReadHeader(Number);
Msg_Read(Number, 78);
Msg_Read(Number, 79);
Pack = TRUE;
if ((strcasecmp(Msg.To, exitinfo.sUserName) == 0) || (strcasecmp(Msg.To, exitinfo.sHandle) == 0)) {
Personal++;