Branch: Tag:

2008-12-17

2008-12-17 10:05:22 by 0

file->type can sometimes hold an array of strings.

Rev: server/base_server/configuration.pike:1.661
Rev: server/base_server/prototypes.pike:1.222
Rev: server/base_server/roxen.pike:1.1006

5:   // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.660 2008/12/08 13:38:09 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.661 2008/12/17 09:59:16 jonasw Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
2366:    }    TRACE_ENTER("Content-type mapping module", types_module);    tmp=type_from_filename(id->not_query, 1, loc); -  TRACE_LEAVE(tmp?sprintf("Returned type %s %s.", tmp[0], tmp[1]||"") +  TRACE_LEAVE(tmp?sprintf("Returned type %O %s.", tmp[0], tmp[1]||"")    : "Missing type.");    if(tmp)    {