pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f0f83
)
fix DOWNLOAD macro to use cookiefile variable
author
Carlos J. Torres
<vlaadbrain@gmail.com>
Wed, 13 Feb 2013 03:28:16 +0000
(22:28 -0500)
committer
Christoph Lohmann
<20h@r-36.net>
Wed, 13 Feb 2013 05:49:17 +0000
(06:49 +0100)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
d503bfb
..
da5a08f
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-29,10
+29,9
@@
static Bool hidebackground = FALSE;
#define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \
"st -e /bin/sh -c \"curl -J -O --user-agent '$1'" \
- " --referer '$2'" \
- " -b ~/.surf/cookies.txt -c ~/.surf/cookies.txt '$0';" \
+ " --referer '$2' -b $3 -c $3 '$0';" \
" sleep 5;\"", \
- d, useragent, r, NULL \
+ d, useragent, r,
cookiefile,
NULL \
} \
}