changeset 721:fce9d5977822

Put strings before hexizing to smail_queue log
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 31 May 2020 10:42:15 +0900
parents f92df08e64ef
children 78cc4ba7bf42
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Sun May 31 09:03:27 2020 +0900
+++ b/s4-funcs.sh	Sun May 31 10:42:15 2020 +0900
@@ -1264,7 +1264,7 @@
     rcpts="X'"`echo "$1"|hexize`"'"
     subj="X'"`echo "$2"|hexize`"'"
     text="X'"`cat | hexize`"'"
-    err "rcpts=[$rcpts] s=[$subj] t=[$text]"
+    err "smail_queue: rcpts=[$1] s=[$2] t:hex=[$text]"
     mintime=$(cat  <<-EOF | sq $workdb
 	CREATE TABLE IF NOT EXISTS smailq(rcpts, subj, text, time);
 	INSERT INTO smailq VALUES($rcpts, $subj, $text, '$now');

yatex.org