Diff for /Amaya/amaya/query.c between versions 1.45 and 1.46

version 1.45, 1997/03/18 12:06:56 version 1.46, 1997/03/26 11:35:12
Line 507  int                 status; Line 507  int                 status;
         TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_REDIRECTIONS_LIMIT),          TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_REDIRECTIONS_LIMIT),
                       NULL);                        NULL);
         if (me->error_html)          if (me->error_html)
            FilesLoading[me->docid] = 2;         /* so we can show the error message */             DocNetworkStatus[me->docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
      }       }
   
    /*     /*
Line 1382  boolean             error_html; Line 1382  boolean             error_html;
                       urlName);                        urlName);
   
         if (error_html)          if (error_html)
            FilesLoading[docid] = 2;     /* so we can show the error message */            DocNetworkStatus[me->docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
         return HT_ERROR;          return HT_ERROR;
   
      }       }
Line 1395  boolean             error_html; Line 1395  boolean             error_html;
                       urlName);                        urlName);
   
         if (error_html)          if (error_html)
            FilesLoading[docid] = 2;     /* so we can show the error message */            DocNetworkStatus[docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
         return HT_ERROR;          return HT_ERROR;
      }       }
   
Line 1416  boolean             error_html; Line 1416  boolean             error_html;
                            urlName);                             urlName);
   
              if (error_html)               if (error_html)
                 FilesLoading[docid] = 2;        /* so we can show the error message */                 DocNetworkStatus[docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
   
              return HT_ERROR;               return HT_ERROR;
           }            }
      }       }
Line 1446  boolean             error_html; Line 1445  boolean             error_html;
                       urlName);                        urlName);
   
         if (error_html)          if (error_html)
            FilesLoading[docid] = 2;     /* so we can show the error message */            DocNetworkStatus[docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
   
         return HT_ERROR;          return HT_ERROR;
      }       }
Line 1466  boolean             error_html; Line 1465  boolean             error_html;
         TtaFreeMemory (ref);          TtaFreeMemory (ref);
   
         if (error_html)          if (error_html)
            FilesLoading[docid] = 2;     /* so we can show the error message */            DocNetworkStatus[docid] |= AMAYA_NET_ERROR; /* so we can show the error message */
         return (HT_ERROR);          return (HT_ERROR);
      }       }
   
Line 1600  generated Line 1599  generated
           {            {
             status = HT_ERROR;              status = HT_ERROR;
             /* show an error message on the status bar */              /* show an error message on the status bar */
             FilesLoading[me->docid] = 2;            DocNetworkStatus[me->docid] |= AMAYA_NET_ERROR;
             TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_CANNOT_LOAD),              TtaSetStatus (me->docid, 1, TtaGetMessage (AMAYA, AM_CANNOT_LOAD),
                           me->status_urlName);                            me->status_urlName);
           }            }

Removed from v.1.45  
changed lines
  Added in v.1.46


Webmaster