summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Richards <rrichards@php.net>2005-10-17 19:50:20 +0000
committerRob Richards <rrichards@php.net>2005-10-17 19:50:20 +0000
commitfbda9ce9f451a2238b1cfdc2331d96e011894924 (patch)
treef0fdbd2e75f605f28cbb381740470c4ef9f72846
parent197142b3e0b887fbb6127e653677aab0222e025c (diff)
downloadphp-git-fbda9ce9f451a2238b1cfdc2331d96e011894924.tar.gz
MFH: only need context set once
-rw-r--r--ext/libxml/libxml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 7d1feb02c1..d45f51102b 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -386,7 +386,7 @@ php_libxml_output_buffer_create_filename(const char *URI,
/* try with a non-escaped URI this may be a strange filename */
if (context == NULL) {
- context = context = php_libxml_streams_IO_open_write_wrapper(URI);
+ context = php_libxml_streams_IO_open_write_wrapper(URI);
}
if (context == NULL) {