From: Matteo Nastasi (mop) Date: Wed, 18 May 2011 21:44:00 +0000 (+0200) Subject: trace_ftok added X-Git-Tag: 3.5.5~4 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=ff3c49ff3cbad45961f1a8d5264f587598134556;p=brisk.git trace_ftok added --- diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index c829980..a5bec27 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2578,6 +2578,16 @@ function btrace_line($ar) return ($ret); } +function trace_ftok($id, $add) +{ + // NOTE: without space to use sed to substitute "= @ftok(" with "= @ftok(" + $tok=@ftok($id, $add); + + log_shme($tok.": ".$id." + ".$add); + + return ($tok); +} + function log_mop($step, $log) { GLOBAL $sess, $PHP_SELF;