Make sure the debug event comments are printed only for slamm.

This commit is contained in:
ramiro%netscape.com 1998-08-31 14:14:59 +00:00
Родитель 63e4c6563e
Коммит 5534878891
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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: