From 0fb317577133f1ff895985bbcacd4ae0b0afde80 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 9 Oct 2014 08:22:33 +0200 Subject: [PATCH] pass $header to underline function that require them --- web/Obj/curl-de-brisk.phh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/Obj/curl-de-brisk.phh b/web/Obj/curl-de-brisk.phh index 5c23651..b19d3d5 100755 --- a/web/Obj/curl-de-brisk.phh +++ b/web/Obj/curl-de-brisk.phh @@ -37,12 +37,12 @@ function brisk_cds_reload($brisk) return (TRUE); } -function brisk_cds_execute($brisk, $real_idx, $sess, $ip, $authenticate) +function brisk_cds_execute($brisk, $ghost, $real_idx, $sess, $ip, $authenticate, $header) { - if ($brisk->cds->execute("tor_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE) == FALSE) { + if ($brisk->cds->execute("tor_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE, $header) == FALSE) { log_main("cds_execute failed"); } - if ($brisk->cds->execute("proxy_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE) == FALSE) { + if ($brisk->cds->execute("proxy_chk", $brisk, $ghost, $sess, $ip, $authenticate != FALSE, $header) == FALSE) { log_main("cds_execute failed"); } } -- 2.17.1