Changeset 8439


Ignore:
Timestamp:
02/27/13 16:22:13 (8 years ago)
Author:
gf
Message:

webif/dvbapi: Do not prefix log messages comming from WebIf with "dvbapi: ".

module-dvbapi.h redefines cs_log() to include "dvbapi: " prefix.

Since module-webif.c includes module-dvbapi.h all cs_log lines coming
from webif were wrongly were prefixed with "dvbapi: ".

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-dvbapi-azbox.c

    r8367 r8439  
    66#include "extapi/openxcas/openxcas_message.h"
    77
     8#define DVBAPI_LOG_PREFIX 1
    89#include "module-dvbapi.h"
    910#include "module-dvbapi-azbox.h"
  • trunk/module-dvbapi-coolapi.c

    r8119 r8439  
    77#include "extapi/coolapi.h"
    88
     9#define DVBAPI_LOG_PREFIX 1
    910#include "module-dvbapi.h"
    1011#include "module-dvbapi-coolapi.h"
  • trunk/module-dvbapi-mca.c

    r8367 r8439  
    2424//#include "extapi/openxcas/openxcas_message.h"
    2525
     26#define DVBAPI_LOG_PREFIX 1
    2627#include "module-dvbapi.h"
    2728#include "module-dvbapi-mca.h"
  • trunk/module-dvbapi-stapi.c

    r8347 r8439  
    33#if defined(HAVE_DVBAPI) && defined(WITH_STAPI)
    44
     5#define DVBAPI_LOG_PREFIX 1
    56#include "module-dvbapi.h"
    67#include "module-dvbapi-stapi.h"
  • trunk/module-dvbapi.h

    r8368 r8439  
    232232void dvbapi_read_priority(void);
    233233
     234#ifdef DVBAPI_LOG_PREFIX
    234235#undef cs_log
    235236#define cs_log(txt, x...)   cs_log_int(0, 1, NULL, 0, "dvbapi: "txt, ##x)
     
    238239    #define cs_debug_mask(x,txt,y...)   cs_log_int(x, 1, NULL, 0, "dvbapi: "txt, ##y)
    239240#endif
     241#endif
    240242
    241243#else
Note: See TracChangeset for help on using the changeset viewer.