Commit 34da9c46 authored by mikeytown2's avatar mikeytown2

Issue #2402197 by mikeytown2: Fix double equal usage inside httprl.install

parent 67757a3c
......@@ -298,10 +298,10 @@ function httprl_install_http_test($mode, $blocking = FALSE) {
$conf['httprl_server_addr'] = -1;
$return = httprl_install_http_test($mode, $blocking);
if (!$return) {
$conf['httprl_server_addr'] == FALSE;
$conf['httprl_server_addr'] = FALSE;
}
elseif ($blocking == FALSE && httprl_variable_get('httprl_non_blocking_fclose_delay', HTTPRL_NON_BLOCKING_FCLOSE_DELAY) == 0) {
$conf['httprl_non_blocking_fclose_delay'] == 25;
$conf['httprl_non_blocking_fclose_delay'] = 25;
$return = httprl_install_http_test($mode, $blocking);
if ($return) {
variable_set('httprl_non_blocking_fclose_delay', 25);
......@@ -311,10 +311,10 @@ function httprl_install_http_test($mode, $blocking = FALSE) {
return $return;
}
elseif ($blocking == FALSE && httprl_variable_get('httprl_non_blocking_fclose_delay', HTTPRL_NON_BLOCKING_FCLOSE_DELAY) == 0) {
$conf['httprl_non_blocking_fclose_delay'] == 25;
$conf['httprl_non_blocking_fclose_delay'] = 25;
$return = httprl_install_http_test($mode, $blocking);
if ($return) {
$conf['httprl_non_blocking_fclose_delay'] == 5;
$conf['httprl_non_blocking_fclose_delay'] = 5;
$return = httprl_install_http_test($mode, $blocking);
if ($return) {
variable_set('httprl_non_blocking_fclose_delay', 5);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment