s4

changeset 379:1f62c51bed4f

Remove debugging code
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 28 Nov 2016 00:00:45 +0859
parents 165fa0a61d18
children b0d1b4914789
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Sun Nov 27 17:24:22 2016 +0859
     1.2 +++ b/s4-blog.sh	Mon Nov 28 00:00:45 2016 +0859
     1.3 @@ -428,8 +428,7 @@
     1.4      printf ".mode csv\n.header ON\n" | query >/dev/null
     1.5      fn=report-count.csv
     1.6      printf 'Content-Disposition: filename="%s"\n' "$fn"
     1.7 -    outfile=tmp/out-$$.csv
     1.8 -    rm tmp/sql.out
     1.9 +    outfile=$tmpd/out-$$.csv
    1.10      echo "$sql" | query | sed 's/^"[0-9]*	/"/' > $outfile
    1.11      echo "Content-Length: " `cat $outfile | wc -c`; echo
    1.12      
    1.13 @@ -762,7 +761,7 @@
    1.14  	    $layout/form+dump-whead.m4.html
    1.15  }
    1.16  
    1.17 -blog_reply() {
    1.18 +blog_reply() {		# Posting to blog article
    1.19    rowid=$1
    1.20  
    1.21    if [ -z "$rowid" ]; then