* usually more strict because you're not really supposed to dump/load and
* upgrade at the same time.
*/
-#define REV_LEVEL 904 /* This version */
+#define REV_LEVEL 905 /* This version */
#define REV_MIN 591 /* Oldest compatible database */
#define EXPORT_REV_MIN 760 /* Oldest compatible export files */
#define LIBCITADEL_MIN 903 /* Minimum required version of libcitadel */
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
-AC_INIT([Citadel], [903], [http://www.citadel.org/])
+AC_INIT([Citadel], [905], [http://www.citadel.org/])
AC_REVISION([$Revision: 5108 $])
AC_CONFIG_SRCDIR([citserver.c])
AC_CONFIG_HEADER(sysdep.h)
return;
}
+ // change all vertical bars in the subject to hyphens so it doesn't screw up the protocol
+ if (!CM_IsEmpty(msg, eMsgSubject)) {
+ char *p;
+ for (p=msg->cm_fields[eMsgSubject]; *p; p++) {
+ printf("%c\n", *p);
+ if (*p == '|') {
+ *p = '-';
+ }
+ }
+ }
+
// output all fields except the references hash
cprintf("%ld|%s|%s|%s|%s|%s",
msgnum,
(!CM_IsEmpty(msg, eMsgSubject) ? msg->cm_fields[eMsgSubject] : "")
);
- if (output_mode == MSG_HDRS_THREADS) {
+ if (output_mode == MSG_HDRS_THREADS) { // field view with thread hashes
// output the references hash
cprintf ("|%d|",
}
}
- cprintf("|");
+ cprintf("|\n");
+ }
+
+ else { // field view with no threads, subject extends out forever
+ cprintf("\n");
}
- cprintf("\n");
CM_Free(msg);
}