textclient: indent -kr -i8 -brf -bbb -fnc -l132 -nce
[citadel.git] / textclient / rooms.c
index 4d78a1080d989dddfbf06b819b40c600d6546a61..5e4d2c4f39af8129c7aa92b6fdec29d91ee62cd2 100644 (file)
@@ -285,7 +285,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 +467,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 +499,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 +776,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)