Diff for /parser3/src/classes/image.C between versions 1.40 and 1.41

version 1.40, 2001/09/06 06:11:13 version 1.41, 2001/09/13 14:10:54
Line 393  static void _gif(Request& r, const Strin Line 393  static void _gif(Request& r, const Strin
         String out(pool); image->Gif(out);          String out(pool); image->Gif(out);
                   
         VFile& vfile=*new(pool) VFile(pool);          VFile& vfile=*new(pool) VFile(pool);
         String& image_gif=*new(pool) String(pool, "image/gif");          Value *content_type=new(pool) VString(*new(pool) String(pool, "image/gif"));
         vfile.set(false/*not tainted*/,           vfile.set(false/*not tainted*/, 
                 out.cstr(String::UL_AS_IS), out.size(), 0, &image_gif);                  out.cstr(String::UL_AS_IS), out.size(), 0, content_type);
   
         r.write_no_lang(vfile);          r.write_no_lang(vfile);
 }  }

Removed from v.1.40  
changed lines
  Added in v.1.41


E-mail: