From 46cfcbdf43ba4b1e56b50899fe5cbdbb283a0544 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 5 Feb 1987 16:22:42 +0000 Subject: [PATCH] bug fix --- lang/cem/libcc/gen/getenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/libcc/gen/getenv.c b/lang/cem/libcc/gen/getenv.c index 687c102c0..2793023a8 100644 --- a/lang/cem/libcc/gen/getenv.c +++ b/lang/cem/libcc/gen/getenv.c @@ -8,7 +8,7 @@ register char *name; q = name; while (*q && *q++ == *p++) /* nothing */ ; if (*q || *p != '=') continue; - return(p); + return(p+1); } return(0); }