"id" not defined for debug code

"id" not defined for debug code when using -DPROFILE_BRO_FUNCTIONS
This commit is contained in:
Mike Smiley 2015-02-03 14:29:34 -05:00
parent 21c7642f62
commit 51203d7193

View file

@ -323,7 +323,7 @@ int BroFunc::IsPure() const
Val* BroFunc::Call(val_list* args, Frame* parent) const
{
#ifdef PROFILE_BRO_FUNCTIONS
DEBUG_MSG("Function: %s\n", id->Name());
DEBUG_MSG("Function: %s\n", Name());
#endif
SegmentProfiler(segment_logger, location);