Diff for /Amaya/amaya/AHTBridge.c between versions 1.44 and 1.45

version 1.44, 1997/09/12 11:30:16 version 1.45, 1997/09/12 22:26:05
Line 131  XtInputId          *id; Line 131  XtInputId          *id;
        if (cbf)         if (cbf)
          (*cbf) (socket, 0, FD_CLOSE);           (*cbf) (socket, 0, FD_CLOSE);
                 
 #if 0  #if DEBUG_PERSISTENT
        v = HASH (socket);         v = HASH (socket);
        if (persSockets[v])          if (persSockets[v]) 
          {           {
Line 140  XtInputId          *id; Line 140  XtInputId          *id;
              (*cbf) (socket, 0, FD_CLOSE);               (*cbf) (socket, 0, FD_CLOSE);
          }           }
   
 #endif /* 0 */  #endif /* DEBUG_PERSISTENT */
   
        return (0);         return (0);
      }       }
Line 287  AHTReqContext *me; Line 287  AHTReqContext *me;
       if (me->outputfile && me->outputfile[0] != EOS)        if (me->outputfile && me->outputfile[0] != EOS)
         {          {
           TtaFileUnlink (me->outputfile);            TtaFileUnlink (me->outputfile);
             TtaFileUnlink (me->outputfile);
           me->outputfile[0] = EOS;            me->outputfile[0] = EOS;
         }          }
     }      }
Line 511  HTPriority          p; Line 512  HTPriority          p;
           fprintf(stderr, "HTEvent_register: ***** RQP is NULL @@@@@\n");            fprintf(stderr, "HTEvent_register: ***** RQP is NULL @@@@@\n");
 #endif /* DEBUG_LIBWWW */  #endif /* DEBUG_LIBWWW */
   
 #if 0  #if DEBUG_PERSISTENT
           v = HASH (sock);            v = HASH (sock);
           if (persSockets[v] != 0)             if (persSockets[v] != 0) 
             {              {
Line 523  HTPriority          p; Line 524  HTPriority          p;
                                           (XtPointer) XtInputReadMask,                                            (XtPointer) XtInputReadMask,
                                           (XtInputCallbackProc) AHTCallback_bridge,                                            (XtInputCallbackProc) AHTCallback_bridge,
                                           (XtPointer) XtInputReadMask);                                            (XtPointer) XtInputReadMask);
 #endif /* 0 */  #endif /* DEBUG_PERSISTENT */
   
           XtAppAddInput (app_cont,             XtAppAddInput (app_cont, 
                          sock,                           sock,
Line 540  HTPriority          p; Line 541  HTPriority          p;
     {      {
       me = HTRequest_context (rqp);        me = HTRequest_context (rqp);
   
 #if 0  #if DEBUG_PERSISTENT
   
                 
 #ifndef _WINDOWS  #ifndef _WINDOWS
Line 550  HTPriority          p; Line 551  HTPriority          p;
         persSockets[v] = 0;          persSockets[v] = 0;
       }           }   
   
 #endif /* 0 */  #endif /* DEBUG_PERSISTENT */
   
 #endif /* _WINDOWS */  #endif /* _WINDOWS */
           /* Erase any trailing events */            /* Erase any trailing events */
Line 630  SockOps             ops; Line 631  SockOps             ops;
    fprintf (stderr, "AHTEventUnregister: cbf = %d, sock = %d, rqp = %d, ops= %x", cbf, sock, rqp, ops);     fprintf (stderr, "AHTEventUnregister: cbf = %d, sock = %d, rqp = %d, ops= %x", cbf, sock, rqp, ops);
 #endif /* DEBUG_LIBWWW */  #endif /* DEBUG_LIBWWW */
   
 #if 0  #if DEBUG_PERSISTENT
   
    v = HASH (sock);     v = HASH (sock);
    if (persSockets[v] != 0) {     if (persSockets[v] != 0) {
Line 638  SockOps             ops; Line 639  SockOps             ops;
      persSockets[v] = 0;       persSockets[v] = 0;
    }     }
   
 #endif /* 0 */  #endif /* DEBUG_PERSISTENT */
   
    if (cbf)     if (cbf)
      {       {

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


Webmaster