Diff for /Amaya/amaya/query.c between versions 1.133 and 1.134

version 1.133, 1998/09/15 20:49:38 version 1.134, 1998/09/16 01:21:55
Line 2413  void               *context_tcbf; Line 2413  void               *context_tcbf;
    /* we are not expecting to receive any input from the server */     /* we are not expecting to receive any input from the server */
    me->outputfile = (char *) NULL;      me->outputfile = (char *) NULL; 
   
   #ifdef _WINDOWS
      /* libwww's HTParse function doesn't take into account the drive name;
      so we sidestep it */
      fileURL = NULL;
      StrAllocCopy (fileURL, "file:");
      StrAllocCat (fileURL, fileName);
   #else
    fileURL = HTParse (fileName, "file:/", PARSE_ALL);     fileURL = HTParse (fileName, "file:/", PARSE_ALL);
   #endif /* _WINDOWS */
    me->anchor = (HTParentAnchor *) HTAnchor_findAddress (fileURL);     me->anchor = (HTParentAnchor *) HTAnchor_findAddress (fileURL);
    HT_FREE (fileURL);     HT_FREE (fileURL);
   
    /* Set the Content-Type of the file we are uploading */     /* Set the Content-Type of the file we are uploading */
    HTAnchor_setFormat ((HTParentAnchor *) me->anchor,     HTAnchor_setFormat ((HTParentAnchor *) me->anchor,
                        AHTGuessAtom_for (me->urlName, contentType));                         AHTGuessAtom_for (me->urlName, contentType));
    HTAnchor_setLength ((HTParentAnchor *) me->anchor, me->block_size);  
   
      /* associate the anchor to the request */
    HTRequest_setEntityAnchor (me->request, me->anchor);     HTRequest_setEntityAnchor (me->request, me->anchor);
   
      /* define other request characteristics */
 #ifdef _WINDOWS  #ifdef _WINDOWS
    HTRequest_setPreemptive (me->request, YES);     HTRequest_setPreemptive (me->request, YES);
 #else  #else
    HTRequest_setPreemptive (me->request, YES);     HTRequest_setPreemptive (me->request, NO);
 #endif /* _WINDOWS */  #endif /* _WINDOWS */
   
    if (mode & AMAYA_NOCACHE)     if (mode & AMAYA_NOCACHE)

Removed from v.1.133  
changed lines
  Added in v.1.134


Webmaster