diff options
| author | mycroft <mycroft@NetBSD.org> | 1998-07-26 19:44:12 +0000 |
|---|---|---|
| committer | mycroft <mycroft@NetBSD.org> | 1998-07-26 19:44:12 +0000 |
| commit | 5dd823ab5d3a4115f960bc5ddf9207e1f1ff93fa (patch) | |
| tree | 9656381e57d700d575e038cf5bce309fc5a2fa84 /libexec/rexecd | |
| parent | 778e6e0151f900f6a4b96d3a37feb7b01b319f73 (diff) | |
const poisoning.
Diffstat (limited to 'libexec/rexecd')
| -rw-r--r-- | libexec/rexecd/rexecd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/rexecd/rexecd.c b/libexec/rexecd/rexecd.c index 63f0e2003ca..1af2e71fc35 100644 --- a/libexec/rexecd/rexecd.c +++ b/libexec/rexecd/rexecd.c @@ -1,4 +1,4 @@ -/* $NetBSD: rexecd.c,v 1.5 1998/07/04 19:03:20 mrg Exp $ */ +/* $NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $ */ /* * Copyright (c) 1983, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\ #if 0 static char sccsid[] = "from: @(#)rexecd.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: rexecd.c,v 1.5 1998/07/04 19:03:20 mrg Exp $"); +__RCSID("$NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $"); #endif #endif /* not lint */ @@ -117,7 +117,8 @@ doit(f, fromp) struct sockaddr_in *fromp; { struct pollfd fds[2]; - char cmdbuf[NCARGS+1], *cp, *namep; + char cmdbuf[NCARGS+1], *namep; + const char *cp; char user[16], pass[16]; char buf[BUFSIZ], sig; struct passwd *pwd; |
