Changeset 1621 for trunk/module-dvbapi.c


Ignore:
Timestamp:
02/19/10 21:27:38 (11 years ago)
Author:
_network
Message:

module-dvbapi

  • fix build error
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-dvbapi.c

    r1618 r1621  
    10311031
    10321032    if (cfg->dvbapi_boxtype[0]==0) {
    1033         cs_strncpy(cfg->dvbapi_boxtype, "dreambox", sizeof(cfg->dvbapi_boxtype));
     1033        strncpy(cfg->dvbapi_boxtype, "dreambox", sizeof(cfg->dvbapi_boxtype)-1);
    10341034        cs_log("dvbapi: boxtype not set. Assume boxtype=%s.", cfg->dvbapi_boxtype);
    10351035    } else
Note: See TracChangeset for help on using the changeset viewer.