Changeset 4327
- Timestamp:
- 01/05/11 20:40:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-config.c
r4326 r4327 4441 4441 needed++; 4442 4442 4443 if (needed == 0) {4444 char *value = (char *) malloc( 3 * sizeof(char));4443 if (needed == 256) { 4444 char *value = (char *) malloc((3 * sizeof(char)) + 1); 4445 4445 sprintf(value, "all"); 4446 4446 return value; 4447 4447 } else { 4448 char *value = (char *) malloc(needed * 3 * sizeof(char)); 4448 char *value = (char *) malloc((needed * 3 * sizeof(char)) + 1); 4449 value[0] = '\0'; 4449 4450 for(i = 0; i < 256; ++i) { 4450 4451 if(rdr->b_nano[i] & flag)
Note:
See TracChangeset
for help on using the changeset viewer.