Commits

Vinay Sajip committed 7520661 Draft

Improved Associator diagnostic output.

Comments (0)

Files changed (1)

Associator/main.c

         LONG size = csize;
         rc = RegQueryValueW(HKEY_CLASSES_ROOT, rp->path, buffer, &size); 
         if (rc == ERROR_SUCCESS) {
+            debug(L"Found association \'%s\'.\n", rp->path);
             result = TRUE;
             break;
         }
         return 0;
     }
     if (!wcsstr(lpCmdLine, L"nocheck") &&
-        associations_exist())   /* Could have been restored by uninstall. */
+        associations_exist()) { /* Could have been restored by uninstall. */
+        debug(L"Some associations exist, so quitting.\n");
         return 0;
+    }
 
     locate_all_pythons();