diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-10-24 03:33:32 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-10-24 03:33:32 +0000 |
commit | 3353a1d161e71d8d4e86d8b0248eef5660ff509f (patch) | |
tree | 27315e8616fba2a7939c387cd7e5f7f8353a954d /libexec | |
parent | 30a1549ad1017e9cad0ae5abe51394f296bc3a7c (diff) | |
download | FreeBSD-src-3353a1d161e71d8d4e86d8b0248eef5660ff509f.zip FreeBSD-src-3353a1d161e71d8d4e86d8b0248eef5660ff509f.tar.gz |
Nuke a couple of useless lines of code from the /etc/netid parsing
section. (Cut & paste-o.)
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/mknetid/mknetid.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/mknetid/mknetid.c b/libexec/mknetid/mknetid.c index d64a7fd..02b4db5 100644 --- a/libexec/mknetid/mknetid.c +++ b/libexec/mknetid/mknetid.c @@ -35,7 +35,7 @@ * Center for Telecommunications Research * Columbia University, New York City * - * $Id: mknetid.c,v 1.2 1996/06/27 05:42:01 wpaul Exp $ + * $Id: mknetid.c,v 1.3 1996/07/12 05:55:38 bde Exp $ */ #include <sys/types.h> @@ -55,7 +55,7 @@ #include "hash.h" #ifndef lint -static const char rcsid[] = "$Id: mknetid.c,v 1.2 1996/06/27 05:42:01 wpaul Exp $"; +static const char rcsid[] = "$Id: mknetid.c,v 1.3 1996/07/12 05:55:38 bde Exp $"; #endif #define LINSIZ 1024 @@ -273,8 +273,6 @@ domain not set"); writebuf[0] = *ptr; *ptr = '\0'; - snprintf(writebuf, sizeof(readbuf), "%s.%s@%s", OPSYS, - ptr, domain); if (lookup(dtable, (char *)&readbuf)) { if (!quiet) warnx("duplicate netid '%s' -- skipping", |