tFix incorrect log messages - partage - File upload system
 (HTM) git clone git://git.z3bra.org/partage.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 18aa29fccc0769886a79c7171c407cede717c6c4
 (DIR) parent 1a43755a67ed08fa19e21615e035851fdd4b7b93
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue, 19 Oct 2021 12:38:38 +0200
       
       Fix incorrect log messages
       
       Diffstat:
         M partage.go                          |       6 +-----
       
       1 file changed, 1 insertion(+), 5 deletions(-)
       ---
 (DIR) diff --git a/partage.go b/partage.go
       t@@ -148,7 +148,7 @@ func uploaderPut(w http.ResponseWriter, r *http.Request) {
                defer f.Close()
        
                if verbose {
       -                log.Printf("Writing %d bytes to %s", r.ContentLength, tmp)
       +                log.Printf("Writing %d bytes to %s", r.ContentLength, tmp.Name())
                }
        
                if err = writefile(f, r.Body, r.ContentLength); err != nil {
       t@@ -286,10 +286,6 @@ func main() {
                        conf.expiry, _ = cfg.Section("").Key("expiry").Int64()
                }
        
       -        if verbose {
       -                log.Printf("Applied configuration:\n%s", conf)
       -        }
       -
                if conf.chroot != "" {
                        if verbose {
                                log.Printf("Changing root to %s", conf.chroot)