Diff for /Amaya/amaya/query.c between versions 1.183 and 1.184

version 1.183, 1999/04/21 07:50:21 version 1.184, 1999/04/29 08:14:33
Line 989  int                 status; Line 989  int                 status;
   AHTReqContext      *me = (AHTReqContext *) HTRequest_context (request);    AHTReqContext      *me = (AHTReqContext *) HTRequest_context (request);
   boolean             error_flag;    boolean             error_flag;
   char               *content_type;    char               *content_type;
     HTParentAnchor     *anchor;
   
   if (!me)    if (!me)
     return HT_ERROR;            /* not an Amaya request */      return HT_ERROR;            /* not an Amaya request */
Line 1081  int                 status; Line 1082  int                 status;
    /* copy the content_type */     /* copy the content_type */
    if (!me->content_type)     if (!me->content_type)
      {       {
        if (response && HTResponse_format (response))         anchor = HTRequest_anchor (request);
          content_type = HTAtom_name (HTResponse_format (response));         if (anchor && HTAnchor_format (anchor))
            content_type = HTAtom_name (HTAnchor_format (anchor));
        else         else
          content_type = "www/unknown";           content_type = "www/unknown";
   

Removed from v.1.183  
changed lines
  Added in v.1.184


Webmaster