From 6ad6511762a22d7a609de36167fb82d4d4863938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=88=92=E4=BF=8A=E6=9D=B0?= Date: Fri, 9 Oct 2015 21:17:47 +0800 Subject: [PATCH] typo fix --- var/Typecho/Http/Client/Adapter/Socket.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/var/Typecho/Http/Client/Adapter/Socket.php b/var/Typecho/Http/Client/Adapter/Socket.php index 267c220f..219598f5 100644 --- a/var/Typecho/Http/Client/Adapter/Socket.php +++ b/var/Typecho/Http/Client/Adapter/Socket.php @@ -144,11 +144,11 @@ class Typecho_Http_Client_Adapter_Socket extends Typecho_Http_Client_Adapter { /** 支持chunked编码 */ if ('chunked' == $this->getResponseHeader('Transfer-Encoding')) { - $parts = explode("\r\n", $this->reponseBody, 2); + $parts = explode("\r\n", $this->responseBody, 2); $counter = hexdec($parts[0]); - $this->reponseBody = substr($parts[1], 0, $counter); + $this->responseBody = substr($parts[1], 0, $counter); } - return $this->reponseBody; + return $this->responseBody; } }