mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix typo in conditional.
This commit is contained in:
parent
e5a0e0a75f
commit
91e5c08fe8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue