Updated the boilerplate on each file
[citadel.git] / textclient / citadel.c
index 3832838ca5a48a25061abd2c4381ed8dd647185b..e5017fd9540f6f2c94fb9b15187bfe5c8b24b567 100644 (file)
@@ -1,16 +1,14 @@
-/*
- * Main source module for the client program.
- *
- * Copyright (c) 1987-2018 by the citadel.org team
- *
- * This program is open source software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- */
+// Main source module for the client program.
+//
+// Copyright (c) 1987-2019 by the citadel.org team
+//
+// This program is open source software.  Use, duplication, and/or
+// disclosure are subject to the GNU General Purpose License version 3.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
 
 #include "textclient.h"
 
@@ -390,11 +388,13 @@ void dotgoto(CtdlIPC * ipc, char *towhere, int display_name, int fromungoto)
        switch (room->RRdefaultview) {
        case VIEW_BBS:
        case VIEW_MAILBOX:
+               entmsg_ok = ENTMSG_OK_YES;
+               break;
        case VIEW_BLOG:
-               entmsg_ok = 1;
+               entmsg_ok = ENTMSG_OK_BLOG;
                break;
        default:
-               entmsg_ok = 0;
+               entmsg_ok = ENTMSG_OK_NO;
                break;
        }