From eaf13a8a4e88531bc5219ffa0d751bf618a6934a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 20 Feb 2012 23:49:29 +0100 Subject: Fix typo in conditional. --- Python/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/random.c') 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); -- cgit v1.2.1