[BACK]Return to ctl_transact.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / talk

Diff for /src/usr.bin/talk/ctl_transact.c between version 1.6 and 1.7

version 1.6, 1999/03/03 20:43:30 version 1.7, 2001/09/05 00:29:20
Line 89 
Line 89 
                                 quit("Error on write to talk daemon", 1);                                  quit("Error on write to talk daemon", 1);
                         }                          }
                         read_mask = ctl_mask;                          read_mask = ctl_mask;
                         nready = select(32, &read_mask, 0, 0, &wait);                          nready = select(ctl_sockt + 1, &read_mask, 0, 0, &wait);
                         if (nready < 0) {                          if (nready < 0) {
                                 if (errno == EINTR)                                  if (errno == EINTR)
                                         continue;                                          continue;
Line 111 
Line 111 
                         read_mask = ctl_mask;                          read_mask = ctl_mask;
                         /* an immediate poll */                          /* an immediate poll */
                         timerclear(&wait);                          timerclear(&wait);
                         nready = select(32, &read_mask, 0, 0, &wait);                          nready = select(ctl_sockt + 1, &read_mask, 0, 0, &wait);
                 } while (nready > 0 && (rp->vers != TALK_VERSION ||                  } while (nready > 0 && (rp->vers != TALK_VERSION ||
                     rp->type != type));                      rp->type != type));
         } while (rp->vers != TALK_VERSION || rp->type != type);          } while (rp->vers != TALK_VERSION || rp->type != type);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7