X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fevent.c;h=d786998ab8ef818c0d5bebf7e15b291c1b04b7e1;hb=HEAD;hp=5f9d3213ddb0b8714ae11190fb20eba5a0c367c0;hpb=e75e8817291f1504a58c70d721075d82293c9e72;p=citadel.git diff --git a/webcit/event.c b/webcit/event.c index 5f9d3213d..ffe0688ab 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -1,7 +1,7 @@ /* * Editing calendar events. * - * Copyright (c) 1996-2012 by the citadel.org team + * Copyright (c) 2002-2012 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. @@ -13,7 +13,7 @@ */ #include "webcit.h" -#include "webserver.h" + #include "calendar.h" /* @@ -24,6 +24,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, char *from, int unread, calview *calv) { + wcsession *WCC = WC; icalcomponent *vevent; icalproperty *p; icalvalue *v; @@ -63,7 +64,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, int which_rryeartype_is_preselected; const char *ch; - char *tabnames[3]; + const char *tabnames[3]; const char *frequency_units[8]; const char *ordinals[6]; @@ -92,7 +93,7 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, get_pref_long("weekstart", &weekstart, 17); if (weekstart > 6) weekstart = 0; - syslog(9, "display_edit_individual_event(%ld) calview=%s year=%s month=%s day=%s\n", + syslog(LOG_DEBUG, "display_edit_individual_event(%ld) calview=%s year=%s month=%s day=%s\n", msgnum, bstr("calview"), bstr("year"), bstr("month"), bstr("day") ); @@ -184,6 +185,10 @@ void display_edit_individual_event(icalcomponent *supplied_vevent, long msgnum, wc_printf("