X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/1e608e420beaca67ca6bc6bef308f9f9f6132a66..255d7550082d59ec8f69f57b122d8fcfe179f4f9:/openssh/openbsd-compat/setenv.c diff --git a/openssh/openbsd-compat/setenv.c b/openssh/openbsd-compat/setenv.c index 6c2d5cd..ac9670b 100644 --- a/openssh/openbsd-compat/setenv.c +++ b/openssh/openbsd-compat/setenv.c @@ -35,7 +35,7 @@ #ifndef HAVE_SETENV #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: setenv.c,v 1.4 2001/07/09 06:57:45 deraadt Exp $"; +static char *rcsid = "$OpenBSD: setenv.c,v 1.3 1998/02/02 22:44:53 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -101,8 +101,7 @@ setenv(name, value, rewrite) if (!rewrite) return (0); if (strlen(C) >= l_value) { /* old larger; copy over */ - while ((*C++ = *value++)) - ; + while ((*C++ = *value++)); return (0); } } else { /* create new slot */