зеркало из https://github.com/mozilla/pjs.git
Make sure the debug event comments are printed only for slamm.
This commit is contained in:
Родитель
63e4c6563e
Коммит
5534878891
|
@ -201,8 +201,14 @@ XFE_RDFBase::debugEvent(HT_Resource n, HT_Event whatHappened)
|
||||||
if (strcmp(viewName, nodeName) == 0)
|
if (strcmp(viewName, nodeName) == 0)
|
||||||
nodeName = "<same>";
|
nodeName = "<same>";
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef DEBUG_slamm
|
||||||
#define EVENTDEBUG(x) printf("%-21s %s, %s\n",(x),\
|
#define EVENTDEBUG(x) printf("%-21s %s, %s\n",(x),\
|
||||||
viewName,nodeName);
|
viewName,nodeName);
|
||||||
|
#else
|
||||||
|
#define EVENTDEBUG(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
switch (whatHappened) {
|
switch (whatHappened) {
|
||||||
case HT_EVENT_NODE_ADDED:
|
case HT_EVENT_NODE_ADDED:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче