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

index 7d1feb02c1dc8a325833c5a2872661a0c5bc8388..d45f51102bdbc96fc5025d9449975a96b7634f4f 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) {