bug fix
authorceriel <none@none>
Thu, 5 Feb 1987 16:22:42 +0000 (16:22 +0000)
committerceriel <none@none>
Thu, 5 Feb 1987 16:22:42 +0000 (16:22 +0000)
lang/cem/libcc/gen/getenv.c

index 687c102..2793023 100644 (file)
@@ -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);
 }