Changeset 5299 for trunk/module-cccshare.c
- Timestamp:
- 05/26/11 17:32:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-cccshare.c
r5261 r5299 30 30 int32_t l; 31 31 for (l=0;l<ptr->num_srvid;l++) { 32 struct cc_srvid *srvid = malloc(sizeof(struct cc_srvid)); 32 struct cc_srvid *srvid; 33 cs_malloc(&srvid,sizeof(struct cc_srvid), QUITERROR); 33 34 srvid->sid = ptr->srvid[l]; 34 35 srvid->ecmlen = 0; //0=undefined, also not used with "O" CCcam … … 55 56 if (ok_caid) { 56 57 for (l=0;l<ptr_no->num_srvid;l++) { 57 struct cc_srvid *srvid = malloc(sizeof(struct cc_srvid)); 58 struct cc_srvid *srvid; 59 cs_malloc(&srvid,sizeof(struct cc_srvid), QUITERROR); 58 60 srvid->sid = ptr_no->srvid[l]; 59 61 srvid->ecmlen = 0; //0=undefined, also not used with "O" CCcam
Note:
See TracChangeset
for help on using the changeset viewer.