Diff for /libwww/Library/src/HTNews.c between versions 2.60.2.2 and 2.60.2.3

version 2.60.2.2, 1996/11/02 19:27:07 version 2.60.2.3, 1996/11/06 00:38:45
Line 347  PUBLIC int HTLoadNews (SOCKET soc, HTReq Line 347  PUBLIC int HTLoadNews (SOCKET soc, HTReq
     HTNet_setEventCallback(net, NewsEvent);      HTNet_setEventCallback(net, NewsEvent);
     HTNet_setEventParam(net, news);  /* callbacks get http* */      HTNet_setEventParam(net, news);  /* callbacks get http* */
   
     return NewsEvent(soc, news, HTEvent_NONE);          /* get it started - ops is ignored */      return NewsEvent(soc, news, HTEvent_BEGIN);         /* get it started - ops is ignored */
 }  }
   
 PRIVATE int NewsEvent (SOCKET soc, void * pVoid, HTEventType type)  PRIVATE int NewsEvent (SOCKET soc, void * pVoid, HTEventType type)
Line 706  PRIVATE int NewsEvent (SOCKET soc, void Line 706  PRIVATE int NewsEvent (SOCKET soc, void
           break;            break;
   
           case NEWS_NEED_BODY:            case NEWS_NEED_BODY:
             if (type == HTEvent_WRITE || type == HTEvent_NONE) {              if (type == HTEvent_WRITE || type == HTEvent_BEGIN) {
                 if (HTRequest_isDestination(request)) {                  if (HTRequest_isDestination(request)) {
                     HTRequest * source = HTRequest_source(request);                      HTRequest * source = HTRequest_source(request);
                     HTNet * srcnet = HTRequest_net(source);                      HTNet * srcnet = HTRequest_net(source);

Removed from v.2.60.2.2  
changed lines
  Added in v.2.60.2.3


Webmaster