fix some warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5499 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -31,11 +31,11 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
static char *copyright[] = {
|
||||||
static char copyright[] =
|
"@(#) Copyright (c) 1988, 1990, 1993\n"
|
||||||
"@(#) Copyright (c) 1988, 1990, 1993\n\
|
"\tThe Regents of the University of California. All rights reserved.\n",
|
||||||
The Regents of the University of California. All rights reserved.\n";
|
(char*)copyright
|
||||||
#endif /* not lint */
|
};
|
||||||
|
|
||||||
#include "telnet_locl.h"
|
#include "telnet_locl.h"
|
||||||
RCSID("$Id$");
|
RCSID("$Id$");
|
||||||
|
@@ -1475,14 +1475,14 @@ env_opt_add(unsigned char *ep)
|
|||||||
opt_replyp = opt_reply + len - (opt_replyend - opt_replyp);
|
opt_replyp = opt_reply + len - (opt_replyend - opt_replyp);
|
||||||
opt_replyend = opt_reply + len;
|
opt_replyend = opt_reply + len;
|
||||||
}
|
}
|
||||||
if (opt_welldefined((char *)ep))
|
if (opt_welldefined((char *)ep)) {
|
||||||
#ifdef OLD_ENVIRON
|
#ifdef OLD_ENVIRON
|
||||||
if (telopt_environ == TELOPT_OLD_ENVIRON)
|
if (telopt_environ == TELOPT_OLD_ENVIRON)
|
||||||
*opt_replyp++ = old_env_var;
|
*opt_replyp++ = old_env_var;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
*opt_replyp++ = NEW_ENV_VAR;
|
*opt_replyp++ = NEW_ENV_VAR;
|
||||||
else
|
} else
|
||||||
*opt_replyp++ = ENV_USERVAR;
|
*opt_replyp++ = ENV_USERVAR;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
while ((c = *ep++)) {
|
while ((c = *ep++)) {
|
||||||
|
Reference in New Issue
Block a user