diff options
| -rw-r--r-- | treat_data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/treat_data.c b/treat_data.c index 13eee0a..9f80cb2 100644 --- a/treat_data.c +++ b/treat_data.c | |||
| @@ -39,7 +39,7 @@ SAPI_TREAT_DATA_FUNC(suhosin_treat_data) | |||
| 39 | int free_buffer = 0; | 39 | int free_buffer = 0; |
| 40 | char *strtok_buf = NULL; | 40 | char *strtok_buf = NULL; |
| 41 | 41 | ||
| 42 | #if PHP_VERSION_ID => 50311 | 42 | #if PHP_VERSION_ID >= 50311 |
| 43 | long count = 0; | 43 | long count = 0; |
| 44 | #endif | 44 | #endif |
| 45 | 45 | ||
| @@ -144,7 +144,7 @@ SAPI_TREAT_DATA_FUNC(suhosin_treat_data) | |||
| 144 | 144 | ||
| 145 | val = strchr(var, '='); | 145 | val = strchr(var, '='); |
| 146 | 146 | ||
| 147 | #if PHP_VERSION_ID => 50311 | 147 | #if PHP_VERSION_ID >= 50311 |
| 148 | if (++count > PG(max_input_vars)) { | 148 | if (++count > PG(max_input_vars)) { |
| 149 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars)); | 149 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars)); |
| 150 | break; | 150 | break; |
