]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/calendar/serv_calendar.c
war on eNodeName
[citadel.git] / citadel / modules / calendar / serv_calendar.c
index 4e296fd4abac24d723b737b9f1365a208f1864f3..b335dc1d97b8b6a2031fd094e0b18af98ef185b1 100644 (file)
@@ -3,7 +3,7 @@
  * room on a Citadel server.  It handles iCalendar objects using the
  * iTIP protocol.  See RFCs 2445 and 2446.
  *
- * Copyright (c) 1987-2015 by the citadel.org team
+ * Copyright (c) 1987-2018 by the citadel.org team
  *
  * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 3.
@@ -143,7 +143,6 @@ void ical_write_to_cal(struct ctdluser *u, icalcomponent *cal) {
                msg->cm_format_type = 4;
                CM_SetField(msg, eAuthor, CCC->user.fullname, strlen(CCC->user.fullname));
                CM_SetField(msg, eOriginalRoom, CCC->room.QRname, strlen(CCC->room.QRname));
-               CM_SetField(msg, eNodeName, CtdlGetConfigStr("c_nodename"), strlen(CtdlGetConfigStr("c_nodename")));
                CM_SetField(msg, eHumanNode, CtdlGetConfigStr("c_humannode"), strlen(CtdlGetConfigStr("c_humannode")));
 
                MsgBody = NewStrBufPlain(NULL, serlen + 100);
@@ -2584,7 +2583,7 @@ CTDL_MODULE_INIT(calendar)
 #ifdef LIBICAL_ICAL_EXPORT     // cheap and sleazy way to detect libical >=2.0
                icalerror_set_errors_are_fatal(0);
 #else
-               icalerror_errors_are_fatal = 0; (this was the old way)
+               icalerror_errors_are_fatal = 0;
 #endif
 
                /* Use our own application prefix in tzid's generated from system tzdata */