$Log$
+Revision 400.45 2002/10/23 04:11:38 ajc
+* Detect when a meeting invitation is actually an update for an existing UID
+ and tell the user so.
+
Revision 400.44 2002/10/21 20:16:38 ajc
* Display conflicts nicely
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
time_t tt;
char buf[SIZ];
char conflict_name[SIZ];
+ int is_update = 0;
/* Leading HTML for the display of this object */
if (recursion_level == 0) {
if (buf[0] == '1') {
while (serv_gets(buf), strcmp(buf, "000")) {
extract(conflict_name, buf, 3);
- wprintf("<TR><TD><B><I>CONFLICT:</I></B></TD>"
+ is_update = extract_int(buf, 4);
+ wprintf("<TR><TD><B><I>%s</I></B></TD>"
"<TD>"
- "This event would conflict with "
- "<I>""
+ "%s "
+ "<I>"",
+
+ (is_update ?
+ "Update:" :
+ "CONFLICT:"
+ ),
+
+ (is_update ?
+ "This is an update of" :
+ "This event would conflict with"
+ )
+
);
escputs(conflict_name);
wprintf(""</I> "