From: Georg Brandl Date: Mon, 20 Feb 2012 22:49:29 +0000 (+0100) Subject: Fix typo in conditional. X-Git-Tag: v3.1.5rc1~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12897d7d395f5907e0f9a3694ba3c64c329db0dd;p=thirdparty%2FPython%2Fcpython.git Fix typo in conditional. --- diff --git a/Python/random.c b/Python/random.c index 327166e26aa7..01cd83aa564c 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);