Diff for /Amaya/amaya/query.c between versions 1.30 and 1.31

version 1.30, 1997/02/06 20:10:43 version 1.31, 1997/02/07 05:39:42
Line 660  int                 status; Line 660  int                 status;
    if (AmayaIsAlive  && ((me->method == METHOD_POST) ||     if (AmayaIsAlive  && ((me->method == METHOD_POST) ||
                          (me->method == METHOD_PUT)))                           (me->method == METHOD_PUT)))
      {       {
        /* JK: Experimental */  
        if (me->method == METHOD_PUT)   
          {  
            TtaHandlePendingEvents ();  
          }  
   
        /* output the status of the request */         /* output the status of the request */
        if (status == 200)         if (status == 200)
          TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_REQUEST_SUCCEEDED), me->urlName);           TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_REQUEST_SUCCEEDED), me->urlName);
Line 701  int                 status; Line 695  int                 status;
              }               }
            else if (errorElement == HTERR_INTERNAL)             else if (errorElement == HTERR_INTERNAL)
              {               {
                if ((error->length > 0) && (error->length <= 2) &&                 if ((error->length > 0) && (error->length <= 25) &&
                    (error->par) && (((char *) error->par)[0] != EOS))                     (error->par) && (((char *) error->par)[0] != EOS))
                  TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_SERVER_INTERNAL_ERROR_500_CAUSE), (char *) (error->par));                   TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_SERVER_INTERNAL_ERROR_500_CAUSE), (char *) (error->par));
                else                 else

Removed from v.1.30  
changed lines
  Added in v.1.31


Webmaster