1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00

break out if there is no data to work on.

This commit is contained in:
Stefan Esser
2002-07-24 11:25:36 +00:00
parent 7b3fb771e4
commit 5b3ee5f27a
+4
View File
@@ -196,6 +196,10 @@ SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler)
char *strtok_buf = NULL;
zval *array_ptr = (zval *) arg;
if (SG(request_info).post_data==NULL) {
return;
}
var = php_strtok_r(SG(request_info).post_data, "&", &strtok_buf);
while (var) {