From a1a2d28e3612414384705d98ba9441080c162ce4 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 27 Mar 2007 08:31:45 +0000 Subject: [PATCH] Add trace of calls --- golded3/getpls.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/golded3/getpls.cpp b/golded3/getpls.cpp index 0266d02..ef21f40 100644 --- a/golded3/getpls.cpp +++ b/golded3/getpls.cpp @@ -71,6 +71,8 @@ inline int IsInitial(char c) { int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origarea) { + GFTRK("TemplateToText"); + long fpos; Path tplfile; int n; @@ -185,6 +187,7 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa strcpy(msg->txt, LNG->RobotMsg); TokenXlat(mode, msg->txt, strlen(msg->txt)+1, true, msg, oldmsg, origarea); throw_free(buf); + GFTRK(0); return 0; } } @@ -943,6 +946,7 @@ int TemplateToText(int mode, GMsg* msg, GMsg* oldmsg, const char* tpl, int origa remove(tplfile); throw_free(buf); + GFTRK(0); return disphdr; }