$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.
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
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);