Branch: Tag:

2000-06-04

2000-06-04 19:24:39 by Martin Nilsson <mani@lysator.liu.se>

Enable modules in default default case. Don't attempt to write a image cache file when no image is provided.

Rev: server/base_server/roxen.pike:1.490

4:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.      // ABS and suicide systems contributed freely by Francesco Chemolli - constant cvs_version="$Id: roxen.pike,v 1.489 2000/06/01 15:04:47 nilsson Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.490 2000/06/04 19:24:39 nilsson Exp $";      // Used when running threaded to find out which thread is the backend thread,   // for debug purposes only.
823:    }    // if there is no such servers, pick the first default server    // available. -  return ((array)choices)[0]; +  c = ((array)choices)[0]; +  if(!c->inited) c->enable_all_modules(); +  return c;    }      
2388:       static void store_data( string id, string data )    { +  if(!data) return;    Stdio.File f;    if(!(f = open(dir+id+".d", "wct" )))    {