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

Diff for /src/usr.bin/talk/look_up.c between version 1.5 and 1.6

version 1.5, 1998/08/18 04:02:18 version 1.6, 1999/03/03 20:43:30
Line 72 
Line 72 
         current_state = "Waiting to connect with caller";          current_state = "Waiting to connect with caller";
         do {          do {
                 if (ntohs(response.addr.sa_family) != AF_INET)                  if (ntohs(response.addr.sa_family) != AF_INET)
                         p_error("Response uses invalid network address");                          quit("Response uses invalid network address", 1);
                 errno = 0;                  errno = 0;
                 if (connect(sockt, (struct sockaddr *)&response.addr,                  if (connect(sockt, (struct sockaddr *)&response.addr,
                             sizeof (response.addr)) != -1)                              sizeof (response.addr)) != -1)
Line 90 
Line 90 
                 open_sockt();                  open_sockt();
                 return (0);                  return (0);
         }          }
         p_error("Unable to connect with initiator");          quit("Unable to connect with initiator", 1);
         /*NOTREACHED*/          /*NOTREACHED*/
 }  }
   

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