/[inetutils]/inetutils/rcp/util.c
ViewVC logotype

Diff of /inetutils/rcp/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by ams, Sat Jan 22 14:54:13 2005 UTC revision 1.11 by gray, Tue Oct 11 11:16:15 2005 UTC
# Line 100  okname(char *cp0) Line 100  okname(char *cp0)
100          } while (*++cp);          } while (*++cp);
101          return (1);          return (1);
102    
103  bad:    warnx("%s: invalid user name", cp0);  bad:    
104            error (0, 0, "%s: invalid user name", cp0);
105          return (0);          return (0);
106  }  }
107    
# Line 157  allocbuf(BUF *bp, int fd, int blksize) Line 158  allocbuf(BUF *bp, int fd, int blksize)
158          return (bp);          return (bp);
159  }  }
160    
161  void  RETSIGTYPE
162  lostconn(int signo)  lostconn(int signo)
163  {  {
164          if (!iamremote)          if (!iamremote)
165                  warnx("lost connection");                  error (0, 0, "lost connection");
166          exit(1);          exit(1);
167  }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26