From 4e4920a0fdb36e4baa3e2322f1664d75a58cab79 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 5 Nov 2014 08:56:40 -0800 Subject: [PATCH] Fix stupid typo --- opal/util/opal_environ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/util/opal_environ.c b/opal/util/opal_environ.c index 19e2a7dc26..1382c931c8 100644 --- a/opal/util/opal_environ.c +++ b/opal/util/opal_environ.c @@ -132,7 +132,7 @@ int opal_setenv(const char *name, const char *value, bool overwrite, /* setenv copies the value, so we can free it here */ free(newvalue); #else - len - strlen(name); + len = strlen(name); for (i = 0; (*env)[i] != NULL; ++i) { if (0 == strncmp((*env)[i], name, len)) { /* if we find the value in the environ, then