diff options
author | Georg Brandl <georg@python.org> | 2012-02-20 22:49:29 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-20 22:49:29 (GMT) |
commit | 91e5c08fe8a7b682099606ab48ef965833981a9a (patch) | |
tree | 2c2c10431e7edc22473c87e9c0cc467e030df0ee | |
parent | e5a0e0a75f4aec8410092f53abad145565e76d3f (diff) | |
download | cpython-91e5c08fe8a7b682099606ab48ef965833981a9a.zip cpython-91e5c08fe8a7b682099606ab48ef965833981a9a.tar.gz cpython-91e5c08fe8a7b682099606ab48ef965833981a9a.tar.bz2 |
Fix typo in conditional.
-rw-r--r-- | Python/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/random.c b/Python/random.c index 327166e..01cd83a 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); |