tfix DOWNLOAD macro to use cookiefile variable - surf - customized build of surf, the suckless webkit browser
 (HTM) git clone git://src.adamsgaard.dk/surf
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ba634ea8e3b884c4610c89d4491e70729d53bc43
 (DIR) parent 24f0f831972ec19ac0663a1fbe00a280e736d4f5
 (HTM) Author: Carlos J. Torres <vlaadbrain@gmail.com>
       Date:   Tue, 12 Feb 2013 22:28:16 -0500
       
       fix DOWNLOAD macro to use cookiefile variable
       
       Signed-off-by: Christoph Lohmann <20h@r-36.net>
       
       Diffstat:
         M config.def.h                        |       5 ++---
       
       1 file changed, 2 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       t@@ -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 \
                } \
        }