Diff for /Amaya/amaya/query.c between versions 1.357 and 1.358

version 1.357, 2005/06/07 13:37:11 version 1.358, 2005/06/23 15:00:48
Line 1038  static int redirection_handler (HTReques Line 1038  static int redirection_handler (HTReques
        /* @@ verify if this is important */         /* @@ verify if this is important */
        /* @@@ new libwww doesn't need this free stream while making         /* @@@ new libwww doesn't need this free stream while making
           a PUT. Is it the case everywhere or just for PUT? */            a PUT. Is it the case everywhere or just for PUT? */
        if (me->method != METHOD_PUT &&        if (me->method != METHOD_PUT &&
            me->request->orig_output_stream != NULL)            me->request->orig_output_stream != NULL)
          {        {
            AHTFWriter_FREE (me->request->orig_output_stream);          AHTFWriter_FREE (me->request->orig_output_stream);
            me->request->orig_output_stream = NULL;          me->request->orig_output_stream = NULL;
            if (me->output != stdout)          if (me->output != stdout)
              {          {
                /* Are we writing to a file? */            /* Are we writing to a file? */
 #ifdef DEBUG_LIBWWW  #ifdef DEBUG_LIBWWW
                fprintf (stderr, "redirection_handler: New URL is  %s, closing FILE %p\n", me->urlName, me->output);             fprintf (stderr, "redirection_handler: New URL is  %s, closing FILE %p\n", me->urlName, me->output); 
 #endif   #endif 
                TtaReadClose (me->output);            TtaReadClose (me->output);
                me->output = NULL;            me->output = NULL;
              }          }
          }        }
                 
        /* tell the user what we're doing */         /* tell the user what we're doing */
        TtaSetStatus (me->docid, 1,         TtaSetStatus (me->docid, 1,
                      TtaGetMessage (AMAYA, AM_RED_FETCHING), me->status_urlName);          TtaGetMessage (AMAYA, AM_RED_FETCHING), me->status_urlName); 
        /*         /*
        ** launch the request         ** launch the request
        */         */

Removed from v.1.357  
changed lines
  Added in v.1.358


Webmaster