# HG changeset patch # User HIROSE Yuuji # Date 1590889335 -32400 # Node ID fce9d5977822e8980a84ad9b32d419384367579b # Parent f92df08e64efd3e07dfa9a751b32d351dcbfd12d Put strings before hexizing to smail_queue log diff -r f92df08e64ef -r fce9d5977822 s4-funcs.sh --- 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');