- typo
authorMichael Wallner <mike@php.net>
Thu, 22 Dec 2005 16:35:13 +0000 (16:35 +0000)
committerMichael Wallner <mike@php.net>
Thu, 22 Dec 2005 16:35:13 +0000 (16:35 +0000)
http_request_api.c

index a61dc36a359453a591c7220cc7b09fa8937ba6f3..26b4b0992cccd8db395c8cb3e772823b4c5d8ca8 100644 (file)
@@ -512,7 +512,7 @@ PHP_HTTP_API STATUS _http_request_prepare(http_request *request, HashTable *opti
                                        zval_copy_ctor(&val);
                                        convert_to_string(&val);
                                        
-                                       phpstr_appendf(&request->_cache.cookies, "%s=%s; ", cookie_key, Z_STRVAL_P(val));
+                                       phpstr_appendf(&request->_cache.cookies, "%s=%s; ", cookie_key, Z_STRVAL(val));
                                        
                                        zval_dtor(&val);
                                }