Ignore:
Timestamp:
May 28, 2011, 5:25:58 PM (8 years ago)
Author:
Admin
Message:

Get rid of some static variables and cl->dump usage as they are not threadsafe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/reader-videoguard1.c

    r4994 r5309  
    7272    rev_date_calc(&cta_res[4], &y, &m, &d, &H, &M, &S, reader->card_baseyear);
    7373    uint16_t tier_id = (cta_res[2] << 8) | cta_res[3];
    74     char *tier_name = get_tiername(tier_id, reader->caid);
    75     cs_ri_log(reader, "[videoguard1-reader] tier: %04x, expiry date: %04d/%02d/%02d-%02d:%02d:%02d %s", tier_id, y, m, d, H, M, S, tier_name);
     74    char tiername[83];
     75    cs_ri_log(reader, "[videoguard1-reader] tier: %04x, expiry date: %04d/%02d/%02d-%02d:%02d:%02d %s", tier_id, y, m, d, H, M, S, get_tiername(tier_id, reader->caid, tiername));
    7676  }
    7777}
Note: See TracChangeset for help on using the changeset viewer.