commit | e3f0953915624f92eb464d9140e8a6baf781219b | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Sun Feb 26 05:08:41 2006 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Sun Feb 26 05:08:41 2006 +0000 |
tree | 11bf43da07f6950e971ca62db144a60f741a81c8 | |
parent | 9927d13f234a266d2449226c6d359b22bf655641 [diff] |
empty SET OF with malloc(0) git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1035 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET_OF.c b/skeletons/constr_SET_OF.c index e93c70c..841e67f 100644 --- a/skeletons/constr_SET_OF.c +++ b/skeletons/constr_SET_OF.c
@@ -355,7 +355,7 @@ } computed_size += encoding_size; - if(!cb) { + if(!cb | list->count == 0) { erval.encoded = computed_size; _ASN_ENCODED_OK(erval); }