X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=textclient%2Frooms.c;h=4eeb91e46c0b885d4b0259f190324d05751bbd83;hb=HEAD;hp=4d78a1080d989dddfbf06b819b40c600d6546a61;hpb=86767413565cc1ae9ca28c1d47fcf3da7a3c2558;p=citadel.git diff --git a/textclient/rooms.c b/textclient/rooms.c index 4d78a1080..81ece7f72 100644 --- a/textclient/rooms.c +++ b/textclient/rooms.c @@ -2,8 +2,7 @@ // // Copyright (c) 1987-2023 by the citadel.org team // -// This program is open source software. Use, duplication, or disclosure -// is subject to the terms of the GNU General Public License, version 3. +// This program is open source software. Use, duplication, or disclosure is subject to the GNU General Public License version 3. #include "textclient.h" @@ -285,7 +284,7 @@ void knrooms(CtdlIPC * ipc, int kn_floor_mode) { void listzrooms(CtdlIPC * ipc) { // list public forgotten rooms struct march *listing = NULL; struct march *mptr; - int r; // IPC response code + int r; // IPC response code char buf[SIZ]; @@ -467,7 +466,8 @@ void editthisroom(CtdlIPC * ipc) { attr->QRfloor = select_floor(ipc, attr->QRfloor); attr->QRflags = set_room_attr(ipc, attr->QRflags, "Private room", QR_PRIVATE); if (attr->QRflags & QR_PRIVATE) { - attr->QRflags = set_room_attr(ipc, attr->QRflags, "Hidden room (accessible to anyone who knows the room name)", QR_GUESSNAME); + attr->QRflags = + set_room_attr(ipc, attr->QRflags, "Hidden room (accessible to anyone who knows the room name)", QR_GUESSNAME); } // if it's public, clear the privacy classes @@ -498,7 +498,8 @@ void editthisroom(CtdlIPC * ipc) { attr->QRflags = set_room_attr(ipc, attr->QRflags, "Read-only room", QR_READONLY); attr->QRflags2 = set_room_attr(ipc, attr->QRflags2, "Allow message deletion by anyone who can post", QR2_COLLABDEL); attr->QRflags = set_room_attr(ipc, attr->QRflags, "Permanent room", QR_PERMANENT); - attr->QRflags2 = set_room_attr(ipc, attr->QRflags2, "Subject Required (Force users to specify a message subject)", QR2_SUBJECTREQ); + attr->QRflags2 = + set_room_attr(ipc, attr->QRflags2, "Subject Required (Force users to specify a message subject)", QR2_SUBJECTREQ); attr->QRflags = set_room_attr(ipc, attr->QRflags, "Directory room", QR_DIRECTORY); if (attr->QRflags & QR_DIRECTORY) { strprompt("Directory name", attr->QRdirname, 14); @@ -774,7 +775,7 @@ void download(CtdlIPC * ipc, int proto) { tpipe = fopen(tempname, "wb"); if (fwrite(file, filelen, 1, tpipe) < filelen) { // FIXME: restart syscall on EINTR - // broken = 1; + // broken = 1; } fclose(tpipe); if (file)