DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
ACTUAL_DIR=`pwd`
+
+rm -rf debian/citadel-webcit debian/tmp/
if echo "$ACTUAL_DIR" |grep -q "$WEBCIT_VERSION"; then
echo "directory ($ACTUAL_DIR) naming scheme seems right. nothing done."
else
);
wprintf("<td width=%d%%>", SUBJ_COL_WIDTH_PCT);
- escputs(WC->summ[num].subj);
+
+#ifdef HAVE_ICONV
+ utf8ify_rfc822_string(WC->summ[num].subj);
+ utf8ify_rfc822_string(WC->summ[num].from);
+#endif
+ escputs(WC->summ[num].subj);//////////////////////////////////TODO: QP DECODE
wprintf("</td>");
wprintf("<td width=%d%%>", SENDER_COL_WIDTH_PCT);
#include "webcit.h"
-char floorlist[128][SIZ]; /**< list of our floor names */
+#define MAX_FLOORS 128
+char floorlist[MAX_FLOORS][SIZ]; /**< list of our floor names */
char *viewdefs[9]; /**< the different kinds of available views */
int a;
char buf[SIZ];
- for (a = 0; a < 128; ++a)
+ for (a = 0; a < MAX_FLOORS; ++a)
floorlist[a][0] = 0;
serv_puts("LFLR");
* Otherwise, prefix the floor name as a "public folders" moniker
*/
else {
- sprintf(folder, "%s|%s", floorlist[floor], room);
+ if (floor > MAX_FLOORS) {
+ wc_backtrace ();
+ sprintf(folder, "%%%%%|%s", room);
+ }
+ else {
+ sprintf(folder, "%s|%s", floorlist[floor], room);
+ }
}
/**