[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.5 and 1.6

version 1.5, 1998/08/18 04:02:10 version 1.6, 1999/03/03 20:43:30
Line 86 
Line 86 
                         if (cc != sizeof (msg)) {                          if (cc != sizeof (msg)) {
                                 if (errno == EINTR)                                  if (errno == EINTR)
                                         continue;                                          continue;
                                 p_error("Error on write to talk daemon");                                  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(32, &read_mask, 0, 0, &wait);
                         if (nready < 0) {                          if (nready < 0) {
                                 if (errno == EINTR)                                  if (errno == EINTR)
                                         continue;                                          continue;
                                 p_error("Error waiting for daemon response");                                  quit("Error waiting for daemon response", 1);
                         }                          }
                 } while (nready == 0);                  } while (nready == 0);
                 /*                  /*
Line 106 
Line 106 
                         if (cc < 0) {                          if (cc < 0) {
                                 if (errno == EINTR)                                  if (errno == EINTR)
                                         continue;                                          continue;
                                 p_error("Error on read from talk daemon");                                  quit("Error on read from talk daemon", 1);
                         }                          }
                         read_mask = ctl_mask;                          read_mask = ctl_mask;
                         /* an immediate poll */                          /* an immediate poll */

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