summaryrefslogtreecommitdiff
path: root/BBSUtilities.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
committerDave Hibberd <hibby@debian.org>2025-11-09 22:34:20 +0000
commit367ab8fb01191ec54c91810b1896c41fdf7de911 (patch)
tree8f9ac2b818ebb923b47fce00b28eb127556d96fb /BBSUtilities.c
parent7c796758d1b65d4d7585c90ba71b1fb339a4d283 (diff)
New upstream version 6.0.25.9+repack
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]);