Commits

Georg Brandl committed cd61c71

Fix typo in conditional.

Comments (0)

Files changed (1)

     */
 
     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);