{
EvlogInfo evinfo = {0,};
- if (xev_trace_on == FALSE)
- return;
-
/* evinfo.type */
evinfo.type = type;
static void
_traceFlush (CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
{
+ if (xev_trace_on == FALSE)
+ return;
+
evtPrint (FLUSH, NULL, NULL);
}
static void
_traceAReply (CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
{
+ if (xev_trace_on == FALSE)
+ return;
+
ReplyInfoRec *pri = (ReplyInfoRec*)calldata;
evtPrint (REPLY, pri->client, NULL);
static void
_traceEvent (CallbackListPtr *pcbl, pointer nulldata, pointer calldata)
{
+ if (xev_trace_on == FALSE)
+ return;
+
EventInfoRec *pei = (EventInfoRec*)calldata;
ClientPtr pClient;
ModuleClientInfo *info;