Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 336096 | Differences between
and this patch

Collapse All | Expand All

(-)libmcal/icap/icap.c (-1 / +1 lines)
Lines 159-165 Link Here
159
	if (!reopen) {
159
	if (!reopen) {
160
		if ((stream = calloc(1, sizeof(*stream))) == NULL)
160
		if ((stream = calloc(1, sizeof(*stream))) == NULL)
161
			goto fail;
161
			goto fail;
162
		if ((DATA = calloc(1, sizeof(*DATA))) == NULL)
162
		if ((stream->data = calloc(1, sizeof(*DATA))) == NULL)
163
			goto fail;
163
			goto fail;
164
164
165
		/* Copy host. */
165
		/* Copy host. */
(-)libmcal/mstore/mstore.c (-2 / +2 lines)
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 */

Return to bug 336096