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

Diff for /src/usr.bin/rusers/rusers.c between version 1.26 and 1.27

version 1.26, 2003/08/04 17:06:46 version 1.27, 2006/09/26 10:30:41
Line 489 
Line 489 
 {  {
         enum clnt_stat stat;          enum clnt_stat stat;
         struct itimerval timeout;          struct itimerval timeout;
         AUTH *unix_auth = authunix_create_default();          AUTH *unix_auth;
         size_t outlen[2];          size_t outlen[2];
         int sock[2] = { -1, -1 };          int sock[2] = { -1, -1 };
         int i, maxfd, rval;          int i, maxfd, rval;
Line 504 
Line 504 
         utmpidlearr up;          utmpidlearr up;
         utmp_array up3;          utmp_array up3;
         XDR xdr;          XDR xdr;
   
           if ((unix_auth = authunix_create_default()) == NULL)
                   err(1, "can't create auth handle");
   
         if (getifaddrs(&ifap) != 0)          if (getifaddrs(&ifap) != 0)
                 err(1, "can't get list of interface addresses");                  err(1, "can't get list of interface addresses");

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27