We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d580e commit 306a519Copy full SHA for 306a519
ext/soap/soap.c
@@ -4176,18 +4176,13 @@ static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name, size_t
4176
{
4177
sdlFunctionPtr tmp;
4178
4179
- char *str = estrndup(function_name, function_name_length);
4180
- zend_str_tolower(str, function_name_length);
4181
if (sdl != NULL) {
4182
- if ((tmp = zend_hash_str_find_ptr(&sdl->functions, str, function_name_length)) != NULL) {
4183
- efree(str);
+ if ((tmp = zend_hash_str_find_ptr_lc(&sdl->functions, function_name, function_name_length)) != NULL) {
4184
return tmp;
4185
- } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr(sdl->requests, str, function_name_length)) != NULL) {
4186
+ } else if (sdl->requests != NULL && (tmp = zend_hash_str_find_ptr_lc(sdl->requests, function_name, function_name_length)) != NULL) {
4187
4188
}
4189
4190
4191
return NULL;
4192
4193
/* }}} */
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments