diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-07 00:51:19 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-07 00:51:19 +0100 |
commit | 66cc2fa96036398b10bc8def293bb5759bbbabe4 (patch) | |
tree | 373be246558d5c2ffcfd86285b8b88f6801c7399 /sys/src/cmd/mothra/forms.c | |
parent | a989f89f3e15bae969c764114a256237c3538672 (diff) |
mothra: remove debug code, dont create $home/lib/mothra/mothra.err file
Diffstat (limited to 'sys/src/cmd/mothra/forms.c')
-rw-r--r-- | sys/src/cmd/mothra/forms.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/src/cmd/mothra/forms.c b/sys/src/cmd/mothra/forms.c index d8feef5ba..90cfe4683 100644 --- a/sys/src/cmd/mothra/forms.c +++ b/sys/src/cmd/mothra/forms.c @@ -701,17 +701,8 @@ void h_submitinput(Panel *p, int){ return; } buf[n] = 0; - if(debug)fprint(2, "GET %s\n", buf); geturl(buf, -1, 0, 0); } else { - if(debug){ - fprint(2, "POST %s ->\n", form->action); - if(form->ctype) - mencodeform(form, 2); - else - uencodeform(form, 2); - fprint(2, "\n"); - } /* only set for multipart/form-data */ if(form->ctype) mencodeform(form, fd); |