diff options
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/readconf.c b/readconf.c index e50a42222..7173a8c23 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: readconf.c,v 1.136 2005/03/01 10:40:26 djm Exp $"); | 15 | RCSID("$OpenBSD: readconf.c,v 1.137 2005/03/04 08:48:06 djm Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -775,6 +775,8 @@ parse_int: | |||
775 | if (strchr(arg, '=') != NULL) | 775 | if (strchr(arg, '=') != NULL) |
776 | fatal("%s line %d: Invalid environment name.", | 776 | fatal("%s line %d: Invalid environment name.", |
777 | filename, linenum); | 777 | filename, linenum); |
778 | if (!*activep) | ||
779 | continue; | ||
778 | if (options->num_send_env >= MAX_SEND_ENV) | 780 | if (options->num_send_env >= MAX_SEND_ENV) |
779 | fatal("%s line %d: too many send env.", | 781 | fatal("%s line %d: too many send env.", |
780 | filename, linenum); | 782 | filename, linenum); |