Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
01e76e37
Commit
01e76e37
authored
Apr 21, 2004
by
Dries
Browse files
- Patch
#6887
by Gerhard: fget -> fread for sake of compatibility.
parent
9796455a
Changes
1
Show whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
01e76e37
...
...
@@ -348,7 +348,7 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data =
fwrite
(
$fp
,
$request
);
// Fetch response.
while
(
!
feof
(
$fp
)
&&
$data
=
f
gets
(
$fp
,
1024
))
{
while
(
!
feof
(
$fp
)
&&
$data
=
f
read
(
$fp
,
1024
))
{
$response
[]
=
$data
;
}
fclose
(
$fp
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment