Diff for /Amaya/amaya/query.c between versions 1.359 and 1.360

version 1.359, 2005/07/04 15:28:54 version 1.360, 2005/07/12 08:51:55
Line 1041  static int redirection_handler (HTReques Line 1041  static int redirection_handler (HTReques
       if (me->method != METHOD_PUT &&        if (me->method != METHOD_PUT &&
           me->request->orig_output_stream != NULL)            me->request->orig_output_stream != NULL)
       {        {
 #ifndef _MACOS  
         AHTFWriter_FREE (me->request->orig_output_stream);          AHTFWriter_FREE (me->request->orig_output_stream);
 #endif /* _MACOS */  
         me->request->orig_output_stream = NULL;          me->request->orig_output_stream = NULL;
         if (me->output != stdout)          if (me->output != stdout)
         {          {
Line 3577  int PutObjectWWW (int docid, char *fileN Line 3575  int PutObjectWWW (int docid, char *fileN
    if (!tmp2 || !strcmp (tmp2, "www/unknown"))     if (!tmp2 || !strcmp (tmp2, "www/unknown"))
      {       {
        HTAtom *tmp_atom;         HTAtom *tmp_atom;
          char   *s = NULL;
                 
        tmp_atom = AHTGuessAtom_for (me->urlName, contentType);         tmp_atom = AHTGuessAtom_for (me->urlName, contentType);
        if (!tmp_atom || !strcmp (HTAtom_name (tmp_atom), "www/unknown"))         if (tmp_atom)
          {           s = HTAtom_name (tmp_atom);
            /* ask the user for a MIME type */         if (!tmp_atom || (s && !strcmp (s, "www/unknown")))
          }           {
              /* ask the user for a MIME type */
            }
        HTAnchor_setFormat (dest_anc_parent, tmp_atom);         HTAnchor_setFormat (dest_anc_parent, tmp_atom);
        tmp2 = HTAtom_name (HTAnchor_format (dest_anc_parent));         tmp2 = HTAtom_name (HTAnchor_format (dest_anc_parent));
      }       }

Removed from v.1.359  
changed lines
  Added in v.1.360


Webmaster