From 599e42df58d340b5b1ea40e83aab79f4dc59bef4 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 19 Jul 2002 02:33:40 +0000 Subject: [PATCH] * more of the same --- citadel/citadel_ipc.h | 14 +++++++------- citadel/rooms.c | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/citadel/citadel_ipc.h b/citadel/citadel_ipc.h index 62cde1efd..f2a905eb2 100644 --- a/citadel/citadel_ipc.h +++ b/citadel/citadel_ipc.h @@ -20,18 +20,18 @@ struct parts { char number[16]; /* part number */ char name[PATH_MAX]; /* Name */ char filename[PATH_MAX]; /* Suggested filename */ - char mimetype[256]; /* MIME type */ - char disposition[256]; /* Content disposition */ + char mimetype[SIZ]; /* MIME type */ + char disposition[SIZ]; /* Content disposition */ unsigned long length; /* Content length */ }; struct ctdlipcmessage { - char msgid[256]; /* Original message ID */ - char path[256]; /* Return path to sender */ - char zaps[256]; /* Message ID that this supersedes */ - char subject[256]; /* Message subject */ - char email[256]; /* Email address of sender */ + char msgid[SIZ]; /* Original message ID */ + char path[SIZ]; /* Return path to sender */ + char zaps[SIZ]; /* Message ID that this supersedes */ + char subject[SIZ]; /* Message subject */ + char email[SIZ]; /* Email address of sender */ char author[USERNAME_SIZE]; /* Sender of message */ char recipient[USERNAME_SIZE]; /* Recipient of message */ char room[ROOMNAMELEN]; /* Originating room */ diff --git a/citadel/rooms.c b/citadel/rooms.c index 00291b3b0..74f6451d5 100644 --- a/citadel/rooms.c +++ b/citadel/rooms.c @@ -574,7 +574,6 @@ void editthisroom(void) void ungoto(void) { char buf[SIZ]; - int r; /* IPC response code */ if (uglistsize == 0) return; -- 2.39.2