s4

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 diff
     1.1 --- a/s4-funcs.sh	Sun May 31 09:03:27 2020 +0900
     1.2 +++ b/s4-funcs.sh	Sun May 31 10:42:15 2020 +0900
     1.3 @@ -1264,7 +1264,7 @@
     1.4      rcpts="X'"`echo "$1"|hexize`"'"
     1.5      subj="X'"`echo "$2"|hexize`"'"
     1.6      text="X'"`cat | hexize`"'"
     1.7 -    err "rcpts=[$rcpts] s=[$subj] t=[$text]"
     1.8 +    err "smail_queue: rcpts=[$1] s=[$2] t:hex=[$text]"
     1.9      mintime=$(cat  <<-EOF | sq $workdb
    1.10  	CREATE TABLE IF NOT EXISTS smailq(rcpts, subj, text, time);
    1.11  	INSERT INTO smailq VALUES($rcpts, $subj, $text, '$now');