]> granicus.if.org Git - php/commitdiff
only need context set once
authorRob Richards <rrichards@php.net>
Mon, 17 Oct 2005 19:47:23 +0000 (19:47 +0000)
committerRob Richards <rrichards@php.net>
Mon, 17 Oct 2005 19:47:23 +0000 (19:47 +0000)
ext/libxml/libxml.c

index bc2b1d2f57219f5ff66305e19fdd1d58f815cf7f..4de655f6974eaf82f805be653d8d71b92ca41669 100644 (file)
@@ -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) {