projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
87f08c1
)
* Eliminated some gcc-isms
author
Art Cancro
<ajc@citadel.org>
Thu, 11 Dec 2008 04:02:31 +0000
(
04:02
+0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 11 Dec 2008 04:02:31 +0000
(
04:02
+0000)
citadel/modules/calendar/serv_calendar.c
patch
|
blob
|
history
diff --git
a/citadel/modules/calendar/serv_calendar.c
b/citadel/modules/calendar/serv_calendar.c
index 7c0b7c894eb31dd0bcf95de7cac51a70d12189a4..4c9ad42425f172e2845300231a9b7279bb4fa772 100644
(file)
--- a/
citadel/modules/calendar/serv_calendar.c
+++ b/
citadel/modules/calendar/serv_calendar.c
@@
-52,8
+52,7
@@
icalcomponent *icalcomponent_new_citadel_vcalendar(void) {
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
- CtdlLogPrintf(CTDL_CRIT, "Error at %s:%d - could not allocate component!\n",
- __FILE__, __LINE__);
+ CtdlLogPrintf(CTDL_CRIT, "ERROR: could not allocate component!\n");
return NULL;
}
return NULL;
}
@@
-1523,8
+1522,7
@@
void ical_getics(void)
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
- CtdlLogPrintf(CTDL_DEBUG, "Error at %s:%d - could not allocate component!\n",
- __FILE__, __LINE__);
+ CtdlLogPrintf(CTDL_DEBUG, "ERROR: could not allocate component!\n");
cprintf("%d Could not allocate memory\n", ERROR+INTERNAL_ERROR);
return;
}
cprintf("%d Could not allocate memory\n", ERROR+INTERNAL_ERROR);
return;
}
@@
-1852,8
+1850,7
@@
void ical_send_out_invitations(icalcomponent *top_level_cal, icalcomponent *cal)
/* Encapsulate the VEVENT component into a complete VCALENDAR */
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
/* Encapsulate the VEVENT component into a complete VCALENDAR */
encaps = icalcomponent_new_vcalendar();
if (encaps == NULL) {
- CtdlLogPrintf(CTDL_DEBUG, "Error at %s:%d - could not allocate component!\n",
- __FILE__, __LINE__);
+ CtdlLogPrintf(CTDL_DEBUG, "ERROR: could not allocate component!\n");
icalcomponent_free(the_request);
return;
}
icalcomponent_free(the_request);
return;
}