Lines 308-314
Link Here
|
308 |
if (!reopen) { |
308 |
if (!reopen) { |
309 |
if ((stream = calloc(1, sizeof(*stream))) == NULL) |
309 |
if ((stream = calloc(1, sizeof(*stream))) == NULL) |
310 |
goto fail; |
310 |
goto fail; |
311 |
if ((DATA = calloc(1, sizeof(*DATA))) == NULL) |
311 |
if ((stream->data = calloc(1, sizeof(*DATA))) == NULL) |
312 |
goto fail; |
312 |
goto fail; |
313 |
} |
313 |
} |
314 |
|
314 |
|
Lines 773-779
Link Here
|
773 |
while((event=read_event(calfile))) { |
773 |
while((event=read_event(calfile))) { |
774 |
if (event->id == modified_event->id) |
774 |
if (event->id == modified_event->id) |
775 |
{ |
775 |
{ |
776 |
(const CALEVENT*)event = modified_event; |
776 |
event = modified_event; |
777 |
/*is more required here to assign objects, a loop through all the properties*/ |
777 |
/*is more required here to assign objects, a loop through all the properties*/ |
778 |
/* We actually only want to modify any individual property, not the whole thing.. |
778 |
/* We actually only want to modify any individual property, not the whole thing.. |
779 |
TODO */ |
779 |
TODO */ |