summaryrefslogtreecommitdiff
path: root/BBSUtilities.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-09 22:34:23 +0000
committerDave Hibberd <hibby@debian.org>2025-11-09 22:34:23 +0000
commit3c2c1cf9f880267b8006b87fbe84cd73a645be38 (patch)
tree8dd6026fe09e80dbc5f0ce12c67a08ce8df75ad4 /BBSUtilities.c
parente569b24f9aea7eacce84d6caa646eacd452bea5f (diff)
parent367ab8fb01191ec54c91810b1896c41fdf7de911 (diff)
Update upstream source from tag 'upstream/6.0.25.9+repack'
Update to upstream version '6.0.25.9+repack' with Debian dir 15e3115d6f28e4fa9b1c62d4e3c93da6570dc7bc
Diffstat (limited to 'BBSUtilities.c')
-rw-r--r--BBSUtilities.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/BBSUtilities.c b/BBSUtilities.c
index e803500..e6f7ade 100644
--- a/BBSUtilities.c
+++ b/BBSUtilities.c
@@ -3701,10 +3701,10 @@ void DoKillCommand(CIRCUIT * conn, struct UserInfo * user, char * Cmd, char * Ar
if (conn->sysop)
{
if (Arg1)
- if (KillMessagesFrom(conn, user, Arg1) == 0);
+ if (KillMessagesFrom(conn, user, Arg1) == 0)
BBSputs(conn, "No Messages found\r");
- return;
+ return;
}
}
@@ -6556,7 +6556,7 @@ nextline:
{
char APRS[128];
char Call[16];
- int SSID = user->flags >> 28;
+ int SSID = (user->flags >> 28) & 15; // on some platforms this is treated as signed ??
if (SSID)
sprintf(Call, "%s-%d", Msg->to, SSID);
@@ -13395,7 +13395,7 @@ int DeleteRedundantMessages()
{
while(n--)
{
- if (stat(namelist[n]->d_name, &STAT) == 0);
+ if (stat(namelist[n]->d_name, &STAT) == 0)
{
Msgno = atoi(&namelist[n]->d_name[2]);