Branch: Tag:

1999-11-24

1999-11-24 15:03:14 by Per Hedbor <ph@opera.com>

Fixed bug (too few arguments to argcache->store())

Rev: server/modules/graphics/business_graphics/business.pike:1.119
Rev: server/modules/graphics/cimg.pike:1.8

4:   constant thread_safe=1;      roxen.ImageCache the_cache; - constant cvs_version="$Id: cimg.pike,v 1.7 1999/11/15 03:27:13 per Exp $"; + constant cvs_version="$Id: cimg.pike,v 1.8 1999/11/24 15:03:05 per Exp $";      array register_module()   {
60:       args -= a;    -  args->src = query_internal_location()+the_cache->store( a ); +  args->src = query_internal_location()+the_cache->store( a,id );    if( mapping size = the_cache->metadata( a, id, 1 ) )    {    // image in cache (1 above prevents generation on-the-fly)
72:      string tag_cimg_url( string t, mapping args, RequestID id )   { -  return query_internal_location()+the_cache->store( get_my_args( args,id ) ); +  return query_internal_location()+the_cache->store(get_my_args(args,id),id);   }