1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm/rfp.c: NULL is not 0

This commit is contained in:
Jon Trulson 2014-03-24 17:49:19 -06:00
parent 0a74d63db4
commit 165af415d1

View file

@ -934,7 +934,7 @@ rfp_form_flags_to_appt(RFP *rfp, Dtcm_appointment *a, char *name, int *flagsP)
/* return (CSA_E_INSUFFICIENT_MEMORY); */ /* return (CSA_E_INSUFFICIENT_MEMORY); */
return False; return False;
memset(a->repeat_type, NULL, sizeof(CSA_attribute)); memset(a->repeat_type, 0, sizeof(CSA_attribute));
_DtCm_set_sint32_attrval(rfp->repeat_type, _DtCm_set_sint32_attrval(rfp->repeat_type,
&a->repeat_type->value); &a->repeat_type->value);
@ -951,7 +951,7 @@ rfp_form_flags_to_appt(RFP *rfp, Dtcm_appointment *a, char *name, int *flagsP)
/* return (CSA_E_INSUFFICIENT_MEMORY); */ /* return (CSA_E_INSUFFICIENT_MEMORY); */
return False; return False;
memset(a->repeat_type, NULL, sizeof(CSA_attribute)); memset(a->repeat_type, 0, sizeof(CSA_attribute));
_DtCm_set_sint32_attrval(rfp->repeat_type,&a->repeat_type->value); _DtCm_set_sint32_attrval(rfp->repeat_type,&a->repeat_type->value);
} }