]> code.citadel.org Git - citadel.git/commitdiff
* Fix <G>oto in alternate_semantics - it actually marks messages read now.
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 17 Mar 2003 11:56:35 +0000 (11:56 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 17 Mar 2003 11:56:35 +0000 (11:56 +0000)
citadel/ChangeLog
citadel/routines2.c

index 950d2dfd639136e95c8640a8df5d31b55c32eb7b..7dca54f8ed96ffae31d64139cbc7ad8ade1bc6c3 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 605.21  2003/03/17 11:56:35  error
+ * Fix <G>oto in alternate_semantics - it actually marks messages read now.
+
  Revision 605.20  2003/03/17 04:03:14  ajc
  * Supply a NULL argument as the second argument to accept() instead of an
    empty buffer whose contents we never even look at.
@@ -4566,3 +4569,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 669fba49e67d173a2ec950c37cceec466833415e..86b53a5c3ac4fd7cc07b6627670ea875b260b058 100644 (file)
@@ -189,13 +189,13 @@ void updatels(CtdlIPC *ipc)
        int r;                          /* IPC response code */
 
        if (rc_alt_semantics) {
-               if (maxmsgnum == highest_msg_read == 0) {
+               if (maxmsgnum == 0 && highest_msg_read == 0) {
                        return;
                }
                r = CtdlIPCSetLastRead(ipc, (maxmsgnum > highest_msg_read) ?
                                 maxmsgnum : highest_msg_read, buf);
        } else {
-               r = CtdlIPCSetLastRead(ipc, 0, buf);
+               r = CtdlIPCSetLastRead(ipc, maxmsgnum, buf);
        }
        if (r / 100 != 2)
                scr_printf("%s\n", buf);