Compare commits

..

No commits in common. "ac03394a07bf9f9d627a3641048e69e6e7941dcc" and "78f78927abe92a2c305117faa16b3e336f94f207" have entirely different histories.

12 changed files with 17 additions and 105 deletions

View file

@ -118,7 +118,6 @@ void ReleaseWebMailStruct(WebMailInfo * WebMail);
VOID TidyWelcomeMsg(char ** pPrompt); VOID TidyWelcomeMsg(char ** pPrompt);
int MailAPIProcessHTTPMessage(struct HTTPConnectionInfo * Session, char * response, char * Method, char * URL, char * request, BOOL LOCAL, char * Param, char * Token); int MailAPIProcessHTTPMessage(struct HTTPConnectionInfo * Session, char * response, char * Method, char * URL, char * request, BOOL LOCAL, char * Param, char * Token);
void UndoTransparency(char * input); void UndoTransparency(char * input);
int GetMessageSlotFromMessageNumber(int msgno);
char UNC[] = ""; char UNC[] = "";
char CHKD[] = "checked=checked "; char CHKD[] = "checked=checked ";
@ -2443,8 +2442,8 @@ VOID ProcessMsgFwdUpdate(struct HTTPConnectionInfo * Session, char * MsgPtr, cha
set_fwd_bit(Msg->fbbs, BBSNumber); set_fwd_bit(Msg->fbbs, BBSNumber);
User->ForwardingInfo->MsgCount++; User->ForwardingInfo->MsgCount++;
clear_fwd_bit(Msg->forw, BBSNumber); clear_fwd_bit(Msg->forw, BBSNumber);
if (FirstMessageIndextoForward > GetMessageSlotFromMessageNumber(Msg->number)) if (FirstMessageIndextoForward > Msg->number)
FirstMessageIndextoForward = GetMessageSlotFromMessageNumber(Msg->number); FirstMessageIndextoForward = Msg->number;
} }
*RLen = SendMessageDetails(Msg, Reply, Session->Key); *RLen = SendMessageDetails(Msg, Reply, Session->Key);

View file

@ -531,20 +531,7 @@ struct MsgInfo * GetMsgFromNumber(int msgno)
return MsgnotoMsg[msgno]; return MsgnotoMsg[msgno];
} }
int GetMessageSlotFromMessageNumber(int msgno)
{
int i;
for (i=1; i <= NumberofMessages; i++)
{
if (MsgHddrPtr[i]->number == msgno)
return i;
}
return 0;
}
struct UserInfo * AllocateUserRecord(char * Call) struct UserInfo * AllocateUserRecord(char * Call)
{ {
struct UserInfo * User = zalloc(sizeof (struct UserInfo)); struct UserInfo * User = zalloc(sizeof (struct UserInfo));

View file

@ -491,7 +491,7 @@ VOID UpdateNode(struct ROUTE * Route, UCHAR * axcall, UCHAR * alias, int hops,
{ {
APPL=&APPLCALLTABLE[App]; APPL=&APPLCALLTABLE[App];
if (CompareCalls(axcall, APPL->APPLCALL)) if (APPL->APPLHASALIAS == 0 && CompareCalls(axcall, APPL->APPLCALL))
{ {
Debugprintf("INP3 for an APPLCALL - discarding"); Debugprintf("INP3 for an APPLCALL - discarding");
return; return;
@ -557,7 +557,7 @@ Found:
if (Dest->DEST_STATE & 0x80) // Application Entry if (Dest->DEST_STATE & 0x80) // Application Entry
{ {
Debugprintf("INP3 Application Entry - discarding"); Debugprintf("INP3 Application Entry - discarding");
return; return; // Tsble Full
} }
// Update ALIAS // Update ALIAS
@ -565,6 +565,7 @@ Found:
ConvFromAX25(Dest->DEST_CALL, call); ConvFromAX25(Dest->DEST_CALL, call);
Debugprintf("INP3 Updating Node %s Hops %d RTT %d", call, hops, rtt); Debugprintf("INP3 Updating Node %s Hops %d RTT %d", call, hops, rtt);
if (alias[0] > ' ') if (alias[0] > ' ')
memcpy(Dest->DEST_ALIAS, alias, 6); memcpy(Dest->DEST_ALIAS, alias, 6);

View file

@ -1155,7 +1155,6 @@
// Validate Mode and Frequency and fix formatting in Connected Message (71) // Validate Mode and Frequency and fix formatting in Connected Message (71)
// Fix using OpenBCM on other than Telnet connections (75) // Fix using OpenBCM on other than Telnet connections (75)
// Fix sending + in Webmail (80) // Fix sending + in Webmail (80)
// Fix forwarding problem when using Web interface to change message routing (73)
#include "bpqmail.h" #include "bpqmail.h"
#include "winstdint.h" #include "winstdint.h"

View file

@ -1282,7 +1282,6 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
// Fix possible stuck L2 session when handling SREJ (79) // Fix possible stuck L2 session when handling SREJ (79)
// Allow sending CTRL/G From console (Windows) (80) // Allow sending CTRL/G From console (Windows) (80)
// Fix Webmail autorefresh extra threads problem (websock connection lost handling) (82) // Fix Webmail autorefresh extra threads problem (websock connection lost handling) (82)
// Fix overwriting application alias (83)
#define CKernel #define CKernel

2
ChatUsers.txt Normal file
View file

@ -0,0 +1,2 @@
GM8BPQ 0 John ?_qthャ26ャ0
G8BPQ 0 John ?_qthャ26ャ0

View file

@ -277,7 +277,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
{ {
APPL=&APPLCALLTABLE[App]; APPL=&APPLCALLTABLE[App];
if (CompareCalls(Msg->ORIGIN, APPL->APPLCALL)) if (APPL->APPLHASALIAS == 0 && CompareCalls(Msg->ORIGIN, APPL->APPLCALL))
return; return;
} }
@ -386,7 +386,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
NUMBEROFNODES++; NUMBEROFNODES++;
} }
// ALWAYS UPDATE ALIAS IN CASE NOT PRESENT IN ORIGINAL TABLE // ALWAYS UPDATE ALIAS IN CASE NOT PRESENT IN ORIGINAL TABLE
ptr1 = &Msg->L2DATA[1]; ptr1 = &Msg->L2DATA[1];
ptr2 = &DEST->DEST_ALIAS[0]; ptr2 = &DEST->DEST_ALIAS[0];
@ -454,10 +454,10 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
if (CheckExcludeList(ptr1) == 0) // Excluded if (CheckExcludeList(ptr1) == 0) // Excluded
continue; continue;
for (n = 0; n < NumberofAppls; n++) for (n = 0; n < 32; n++)
{ {
if (CompareCalls(ptr1, APPLCALLTABLE[n].APPLCALL)) if (CompareCalls(ptr1, APPLCALLTABLE[n].APPLCALL))
goto IgnoreNode; // Don't update our applications continue;
} }
// MAKE SURE ITS NOT CORRUPTED // MAKE SURE ITS NOT CORRUPTED
@ -566,7 +566,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
ptr1 += 7; ptr1 += 7;
// UPDATE ALIAS# // UPDATE ALIAS
memcpy(DEST->DEST_ALIAS, ptr1, 6); memcpy(DEST->DEST_ALIAS, ptr1, 6);

1
RTKnown.txt Normal file
View file

@ -0,0 +1 @@
G8BPQ-1 1754642136

View file

@ -5450,26 +5450,7 @@ void DecodeCM108(int Port, char * ptr)
hid_device *handle = NULL; hid_device *handle = NULL;
if (strlen(ptr) > 16) if (strlen(ptr) > 16)
{ CM108Device = _strdup(ptr);
path_to_open = _strdup(ptr);
handle = hid_open_path(path_to_open);
if (handle)
{
hid_close(handle);
CM108Device = _strdup(path_to_open);
}
else
{
char msg[128];
sprintf(msg,"Port %d Unable to open CM108 device %s", Port, path_to_open);
WritetoConsole(msg);
}
}
else else
{ {
VID = strtol(ptr, &next, 0); VID = strtol(ptr, &next, 0);

View file

@ -1,51 +0,0 @@
// ScanHID.cpp : Defines the entry point for the console application.
//
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _CRT_SECURE_NO_DEPRECATE
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include "hidapi.h"
int main(int argc, char* argv[])
{
char product[256];
char sernum[256] = "NULL";
struct hid_device_info *devs, *cur_dev;
const char *path_to_open = NULL;
hid_device *handle = NULL;
// Look for Device
devs = hid_enumerate(0,0); // so we list devices(USHORT)VID, (USHORT)PID);
cur_dev = devs;
while (cur_dev)
{
wcstombs(product, cur_dev->product_string, 255);
if (cur_dev->serial_number)
wcstombs(sernum, cur_dev->serial_number, 255);
if (product)
printf("HID Device %s VID %X PID %X Ser %s\r\n Path %s\r\n\r\n", product, cur_dev->vendor_id, cur_dev->product_id, sernum, cur_dev->path);
else
printf("HID Device %s VID %X PID %X Ser %s\r\n Path %s\r\n\r\n", "Missing Product", cur_dev->vendor_id, cur_dev->product_id, sernum, cur_dev->path);
cur_dev = cur_dev->next;
}
hid_free_enumeration(devs);
printf("Press any key to Exit");
_getch();
}

View file

@ -10,8 +10,8 @@
#endif #endif
#define KVers 6,0,25,1 #define KVers 6,0,24,82
#define KVerstring "6.0.25.1\0" #define KVerstring "6.0.24.82\0"
#ifdef CKernel #ifdef CKernel

6
debian/changelog vendored
View file

@ -1,9 +1,3 @@
linbpq (6.0.25.1+repack-1) UNRELEASED; urgency=medium
* New upstream version 6.0.25.1+repack
-- Dave Hibberd <hibby@debian.org> Thu, 04 Sep 2025 22:52:44 +0100
linbpq (6.0.24.82+repack-1~hibbian13+1) trixie-hibbian-unstable; urgency=medium linbpq (6.0.24.82+repack-1~hibbian13+1) trixie-hibbian-unstable; urgency=medium
* New upstream version 6.0.24.82+repack * New upstream version 6.0.24.82+repack