mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Use a more general and descriptive name
This commit is contained in:
parent
d231293832
commit
270eff1dfe
@ -157,7 +157,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary)
|
||||
*(loc - 4) = '\0';
|
||||
|
||||
/* Magic function that figures everything out */
|
||||
php_parse_gpc_data(ptr,namebuf,http_post_vars ELS_CC PLS_CC);
|
||||
php_register_variable(ptr,namebuf,http_post_vars ELS_CC PLS_CC);
|
||||
|
||||
/* And a little kludge to pick out special MAX_FILE_SIZE */
|
||||
itype = php_check_ident_type(namebuf);
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "zend_globals.h"
|
||||
|
||||
|
||||
void php_parse_gpc_data(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC)
|
||||
void php_register_variable(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC)
|
||||
{
|
||||
char *p = NULL;
|
||||
char *ip; /* index pointer */
|
||||
@ -265,7 +265,7 @@ void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC)
|
||||
/* FIXME: XXX: not binary safe, discards returned length */
|
||||
php_url_decode(var, strlen(var));
|
||||
php_url_decode(val, strlen(val));
|
||||
php_parse_gpc_data(val,var,array_ptr ELS_CC PLS_CC);
|
||||
php_register_variable(val,var,array_ptr ELS_CC PLS_CC);
|
||||
}
|
||||
if (arg == PARSE_COOKIE) {
|
||||
var = strtok_r(NULL, ";", &strtok_buf);
|
||||
|
@ -39,6 +39,6 @@
|
||||
#define PARSE_STRING 3
|
||||
|
||||
void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC);
|
||||
void php_parse_gpc_data(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC);
|
||||
void php_register_variable(char *val, char *var, pval *track_vars_array ELS_DC PLS_DC);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user