From: Georg Brandl Date: Mon, 20 Feb 2012 22:49:29 +0000 (+0100) Subject: Fix typo in conditional. X-Git-Tag: v3.2.3rc1~20^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91e5c08fe8a7b682099606ab48ef965833981a9a;p=python Fix typo in conditional. --- diff --git a/Python/random.c b/Python/random.c index 327166e26a..01cd83aa56 100644 --- a/Python/random.c +++ b/Python/random.c @@ -269,7 +269,7 @@ _PyRandom_Init(void) */ env = Py_GETENV("PYTHONHASHSEED"); - if (env && *env != '\0' & strcmp(env, "random") != 0) { + if (env && *env != '\0' && strcmp(env, "random") != 0) { char *endptr = env; unsigned long seed; seed = strtoul(env, &endptr, 10);