projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
b9e4613
)
reinitilaize http message prior throwing error
author
Michael Wallner
<mike@php.net>
Wed, 24 Sep 2008 11:30:39 +0000
(11:30 +0000)
committer
Michael Wallner
<mike@php.net>
Wed, 24 Sep 2008 11:30:39 +0000
(11:30 +0000)
http_message_object.c
patch
|
blob
|
history
diff --git
a/http_message_object.c
b/http_message_object.c
index b6b3aafcac271f5c12dd3305031618cdd1b875fb..d01c256ed32e3efd63977f548b38760f48341c74 100644
(file)
--- a/
http_message_object.c
+++ b/
http_message_object.c
@@
-1396,8
+1396,8
@@
PHP_METHOD(HttpMessage, unserialize)
if ((msg = http_message_parse_ex(obj->message, serialized, (size_t) length))) {
obj->message = msg;
} else {
- http_error(HE_ERROR, HTTP_E_RUNTIME, "Could not unserialize HttpMessage");
http_message_init(obj->message);
+ http_error(HE_ERROR, HTTP_E_RUNTIME, "Could not unserialize HttpMessage");
}
}
}