diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-04-21 19:43:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-04-21 19:43:23 +0000 |
commit | 01e76e374fe16845b600c530b65778f33f4382b4 (patch) | |
tree | d33dfec41315a2ca8f3cb93c87a82983f597c526 | |
parent | 9796455aafebd30d5c047677a6ef01091aba34eb (diff) | |
download | brdo-01e76e374fe16845b600c530b65778f33f4382b4.tar.gz brdo-01e76e374fe16845b600c530b65778f33f4382b4.tar.bz2 |
- Patch #6887 by Gerhard: fget -> fread for sake of compatibility.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7af2e13b0..32a70a763 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -348,7 +348,7 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data = fwrite($fp, $request); // Fetch response. - while (!feof($fp) && $data = fgets($fp, 1024)) { + while (!feof($fp) && $data = fread($fp, 1024)) { $response[] = $data; } fclose($fp); |