X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fserver%2Fmodules%2Fcalendar%2Fserv_calendar.c;fp=citadel%2Fserver%2Fmodules%2Fcalendar%2Fserv_calendar.c;h=eaf8d238f075d1304823892fc676520c3de64db6;hp=17b80b0dd7d2b722c30b9ff94e3a7351fd13f080;hb=1d8bbd8d311dc3f70985d9087df4b499db9c4327;hpb=cf535e06bb503583c301683ea885220df1b276d5 diff --git a/citadel/server/modules/calendar/serv_calendar.c b/citadel/server/modules/calendar/serv_calendar.c index 17b80b0dd..eaf8d238f 100644 --- a/citadel/server/modules/calendar/serv_calendar.c +++ b/citadel/server/modules/calendar/serv_calendar.c @@ -177,7 +177,7 @@ void ical_send_a_reply(icalcomponent *request, char *action) { if ((ch != NULL) && !strncasecmp(ch, "MAILTO:", 7)) { safestrncpy(attendee_string, ch + 7, sizeof (attendee_string)); string_trim(attendee_string); - recp = validate_recipients(attendee_string, NULL, 0); + recp = validate_recipients(attendee_string, 0); if (recp != NULL) { if (!strcasecmp(recp->recp_local, CC->user.fullname)) { if (me_attend) icalproperty_free(me_attend); @@ -266,7 +266,7 @@ void ical_send_a_reply(icalcomponent *request, char *action) { ); if (msg != NULL) { - valid = validate_recipients(organizer_string, NULL, 0); + valid = validate_recipients(organizer_string, 0); CtdlSubmitMsg(msg, valid, ""); CM_Free(msg); free_recipients(valid); @@ -1258,7 +1258,7 @@ void ical_freebusy(char *who) { // If not found, try it as an unqualified email address. if (found_user != 0) { strcpy(buf, who); - recp = validate_recipients(buf, NULL, 0); + recp = validate_recipients(buf, 0); syslog(LOG_DEBUG, "calendar: trying <%s>", buf); if (recp != NULL) { if (recp->num_local == 1) { @@ -1272,7 +1272,7 @@ void ical_freebusy(char *who) { if (found_user != 0) { snprintf(buf, sizeof buf, "%s@%s", who, CtdlGetConfigStr("c_fqdn")); syslog(LOG_DEBUG, "calendar: trying <%s>", buf); - recp = validate_recipients(buf, NULL, 0); + recp = validate_recipients(buf, 0); if (recp != NULL) { if (recp->num_local == 1) { found_user = CtdlGetUser(&usbuf, recp->recp_local); @@ -1294,7 +1294,7 @@ void ical_freebusy(char *who) { ) { snprintf(buf, sizeof buf, "%s@%s", who, host); syslog(LOG_DEBUG, "calendar: trying <%s>", buf); - recp = validate_recipients(buf, NULL, 0); + recp = validate_recipients(buf, 0); if (recp != NULL) { if (recp->num_local == 1) { found_user = CtdlGetUser(&usbuf, recp->recp_local); @@ -1903,7 +1903,7 @@ void ical_send_out_invitations(icalcomponent *top_level_cal, icalcomponent *cal) ); if (msg != NULL) { - valid = validate_recipients(attendees_string, NULL, 0); + valid = validate_recipients(attendees_string, 0); CtdlSubmitMsg(msg, valid, ""); CM_Free(msg); free_recipients(valid);