Removed default download path.
authorDaniel Carl <danielcarl@gmx.de>
Sun, 21 Apr 2013 13:10:16 +0000 (15:10 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 21 Apr 2013 13:10:16 +0000 (15:10 +0200)
In multiuser environments it's not a good idea to save the downloads in the
widely readable /tmp directory. Now the users home directory will be used as
default download directory.

src/config.h

index 15e0072..7fc4d5a 100644 (file)
@@ -148,7 +148,7 @@ const char *default_config[] = {
     "set hint-style=position:absolute;z-index:100000;font-family:monospace;font-weight:bold;font-size:10px;color:#000;background-color:#fff;margin:0;padding:0px 1px;border:1px solid #444;opacity:0.7;",
     "set ca-bundle=/etc/ssl/certs/ca-certificates.crt",
     "set home-page=https://github.com/fanglingsu/vimb",
-    "set download-path=/tmp/vimb",
+    "set download-path=",
     "set history-max-items=2000",
     "set editor-command=x-terminal-emulator -e vi %s",
     NULL