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 wrap: on
line diff
--- a/s4-blog.sh	Sun Nov 27 17:24:22 2016 +0859
+++ b/s4-blog.sh	Mon Nov 28 00:00:45 2016 +0859
@@ -428,8 +428,7 @@
     printf ".mode csv\n.header ON\n" | query >/dev/null
     fn=report-count.csv
     printf 'Content-Disposition: filename="%s"\n' "$fn"
-    outfile=tmp/out-$$.csv
-    rm tmp/sql.out
+    outfile=$tmpd/out-$$.csv
     echo "$sql" | query | sed 's/^"[0-9]*	/"/' > $outfile
     echo "Content-Length: " `cat $outfile | wc -c`; echo
     
@@ -762,7 +761,7 @@
 	    $layout/form+dump-whead.m4.html
 }
 
-blog_reply() {
+blog_reply() {		# Posting to blog article
   rowid=$1
 
   if [ -z "$rowid" ]; then

yatex.org