1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/session: remove unused progress parameter in early_find_sid_in()

This commit is contained in:
Gina Peter Banyard
2026-02-05 17:45:34 +00:00
parent b657deffc7
commit 3a142e77ee

View File

@@ -3047,7 +3047,7 @@ static PHP_MINFO_FUNCTION(session)
* Upload hook handling *
************************ */
static bool early_find_sid_in(zval *dest, int where, php_session_rfc1867_progress *progress)
static bool early_find_sid_in(zval *dest, int where)
{
zval *potential_session_id;
@@ -3070,7 +3070,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
if (PS(use_cookies)) {
sapi_module.treat_data(PARSE_COOKIE, NULL, NULL);
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE, progress)) {
if (early_find_sid_in(&progress->sid, TRACK_VARS_COOKIE)) {
progress->apply_trans_sid = false;
return;
}
@@ -3079,7 +3079,7 @@ static void php_session_rfc1867_early_find_sid(php_session_rfc1867_progress *pro
return;
}
sapi_module.treat_data(PARSE_GET, NULL, NULL);
early_find_sid_in(&progress->sid, TRACK_VARS_GET, progress);
early_find_sid_in(&progress->sid, TRACK_VARS_GET);
}
static bool php_check_cancel_upload(php_session_rfc1867_progress *progress)