commit | 990e22099f3bb2575ecf6da37bae5e7a3ca560d9 | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Sun Feb 26 05:08:41 2006 +0000 |
committer | Lev Walkin <vlm@lionet.info> | Sun Feb 26 05:08:41 2006 +0000 |
tree | 11bf43da07f6950e971ca62db144a60f741a81c8 | |
parent | 857d11b2479f5ab64fe7c110c6fb77b20df1d66c [diff] |
empty SET OF with malloc(0)
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); }