+/*
+ * CDE - Common Desktop Environment
+ *
+ * Copyright (c) 1993-2012, The Open Group. All rights reserved.
+ *
+ * These libraries and programs are free software; you can
+ * redistribute them and/or modify them under the terms of the GNU
+ * Lesser General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * These libraries and programs are distributed in the hope that
+ * they will be useful, but WITHOUT ANY WARRANTY; without even the
+ * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with these libraries and programs; if not, write
+ * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+ * Floor, Boston, MA 02110-1301 USA
+ */
/* $XConsortium: entry.c /main/1 1996/04/21 19:23:10 drk $ */
/*
* (c) Copyright 1993, 1994 Hewlett-Packard Company
CSA_uint32 *size,
CSA_entry_handle **entries_r)
{
- CSA_return_code stat = CSA_SUCCESS;
CSA_entry_handle *eh;
_DtCm_libentry *ptr;
int i, j;
cms_reminder_ref *rptr;
int i, count;
char isotime[BUFSIZ];
- char *ptr;
CSA_opaque_data opq;
if (num_rems == NULL || csarems == NULL)
{
_DtCm_remove_from_entry_list(entry->cal, (caddr_t)entry, (caddr_t)entry);
if (entry->e) _DtCm_free_cms_entry(entry->e);
- memset((void *)entry, NULL, sizeof(_DtCm_libentry));
+ memset((void *)entry, 0, sizeof(_DtCm_libentry));
}
/*
nptr = entry->next;
if (entry->e) _DtCm_free_cms_entry(entry->e);
- memset((void *)entry, NULL, sizeof(_DtCm_libentry));
+ memset((void *)entry, 0, sizeof(_DtCm_libentry));
free(entry);
extern void
_DtCm_free_reminder_references(uint num_rems, CSA_reminder_reference *rems)
{
- CSA_reminder_reference *nptr;
_DtCm_libentry *entry, *head, *cptr;
int i;