Diff for /Amaya/amaya/query.c between versions 1.191 and 1.192

version 1.191, 1999/06/02 12:43:24 version 1.192, 1999/06/02 15:14:36
Line 735  int                 status; Line 735  int                 status;
         /* @@@ 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);            {
           if (me->output != stdout) { /* Are we writing to a file? */              AHTFWriter_FREE (me->request->orig_output_stream);
               me->request->orig_output_stream = NULL;
               if (me->output != stdout) { /* Are we writing to a file? */
 #ifdef DEBUG_LIBWWW  #ifdef DEBUG_LIBWWW
             fprintf (stderr, "redirection_handler: New URL is  %s, closing "                fprintf (stderr, "redirection_handler: New URL is  %s, closing "
                      "FILE %p\n", me->urlName, me->output);                          "FILE %p\n", me->urlName, me->output); 
 #endif   #endif 
             fclose (me->output);                fclose (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, TtaGetMessage (AMAYA, AM_RED_FETCHING),          TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_RED_FETCHING),
Line 755  int                 status; Line 757  int                 status;
         /*          /*
         ** launch the request          ** launch the request
         */          */
           /* add a link relationship? */
         /* reset the request status */          /* reset the request status */
         me->reqStatus = HT_NEW;           me->reqStatus = HT_NEW; 
         /* clear the errors */          /* clear the errors */
         HTError_deleteAll (HTRequest_error (request));          HTError_deleteAll (HTRequest_error (request));
         HTRequest_setError (request, NULL);          HTRequest_setError (request, NULL);
         /* clear the authentication credentials */          /* clear the authentication credentials, as they get regenerated  */
         HTRequest_deleteCredentialsAll (request);          HTRequest_deleteCredentialsAll (request);
                   
         if (me->method == METHOD_POST           if (me->method == METHOD_POST 

Removed from v.1.191  
changed lines
  Added in v.1.192


Webmaster