summaryrefslogtreecommitdiff
path: root/BBSUtilities.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-22 15:09:21 +0000
committerDave Hibberd <hibby@debian.org>2025-11-22 15:09:21 +0000
commit52e35f45b4cfefc21707b42883dd1afa142ac7d4 (patch)
tree0a9b58677b2f8dad558593277a547b17c38af976 /BBSUtilities.c
parent453f162d225b192d5da5a843633208f0307e6afc (diff)
New upstream version 6.0.25.12+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]);