cvs: pecl /http http_api.c http_request_api.c
| From: | Michael Wallner | Date: | Tue, 31 May 2005 19:49:19 +0000 |
| Subject: | cvs: pecl /http http_api.c http_request_api.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-3210@lists.php.net to get a copy of this message | ||
mike Tue May 31 15:49:19 2005 EDT
Modified files:
/pecl/http http_api.c http_request_api.c
Log:
- typos
http://cvs.php.net/diff.php/pecl/http/http_api.c?r1=1.79&r2=1.80&ty=u
Index: pecl/http/http_api.c
diff -u pecl/http/http_api.c:1.79 pecl/http/http_api.c:1.80
--- pecl/http/http_api.c:1.79 Tue May 31 08:27:16 2005
+++ pecl/http/http_api.c Tue May 31 15:49:18 2005
@@ -13,7 +13,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: http_api.c,v 1.79 2005/05/31 12:27:16 mike Exp $ */
+/* $Id: http_api.c,v 1.80 2005/05/31 19:49:18 mike Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -164,15 +164,13 @@
} else {
efree(*decoded);
if (no_crlf) {
- http_error_ex(E_WARNING, HTTP_E_PARSE,
- "Invalid character (expected 0x0D 0x0A; got: 0x%x 0x%x)", *n_ptr, *(n_ptr + 1));
+ http_error_ex(E_WARNING, HTTP_E_PARSE, "Invalid character (expected 0x0D 0x0A; got: 0x%x
0x%x)", *n_ptr, *(n_ptr + 1));
} else {
char *error = estrndup(n_ptr, strcspn(n_ptr, "\r\n \0"));
http_error_ex(E_WARNING, HTTP_E_PARSE, "Invalid chunk size: '%s' at pos
%d", error, n_ptr - encoded);
efree(error);
- efree(decoded);
}
-
+
return NULL;
}
} else {
http://cvs.php.net/diff.php/pecl/http/http_request_api.c?r1=1.5&r2=1.6&ty=u
Index: pecl/http/http_request_api.c
diff -u pecl/http/http_request_api.c:1.5 pecl/http/http_request_api.c:1.6
--- pecl/http/http_request_api.c:1.5 Tue May 31 08:28:56 2005
+++ pecl/http/http_request_api.c Tue May 31 15:49:18 2005
@@ -13,7 +13,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: http_request_api.c,v 1.5 2005/05/31 12:28:56 mike Exp $ */
+/* $Id: http_request_api.c,v 1.6 2005/05/31 19:49:18 mike Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -514,7 +514,7 @@
break;
default:
- http_error_ex(E_WARNING, HTTP_E_CURL, "Unkown request body type: %d", body->type);
+ http_error_ex(E_WARNING, HTTP_E_CURL, "Unknown request body type: %d",
body->type);
status = FAILURE;
goto http_request_end;
break;
@@ -746,7 +746,7 @@
{
static char *offset = NULL, *original = NULL;
http_request_body *body = (http_request_body *) s;
-
+
switch (body->type)
{
case HTTP_REQUEST_BODY_UPLOADFILE: