- Timestamp:
- 03/15/10 12:50:36 (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/reglookup-recover.c
r178 r181 35 35 bool print_leftover = false; 36 36 bool print_parsedraw = false; 37 c har* registry_file = NULL;37 const char* registry_file = NULL; 38 38 39 39 #include "common.c" … … 818 818 } 819 819 } 820 /*test_offset = strtol(argv[argi++], NULL, 16);*/ 821 822 if((registry_file = strdup(argv[argi])) == NULL) 823 bailOut(REGLOOKUP_EXIT_OSERR, "ERROR: Memory allocation problem.\n"); 820 registry_file = argv[argi]; 824 821 825 822 fd = openHive(registry_file); -
trunk/src/reglookup.c
r178 r181 40 40 char* path_filter = NULL; 41 41 int type_filter; 42 c har* registry_file = NULL;42 const char* registry_file = NULL; 43 43 44 44 /* Other globals */ … … 617 617 } 618 618 } 619 if((registry_file = strdup(argv[argi])) == NULL) 620 bailOut(REGLOOKUP_EXIT_OSERR, "ERROR: Memory allocation problem.\n"); 619 registry_file = argv[argi]; 621 620 622 621 fd = openHive(registry_file);
Note: See TracChangeset
for help on using the changeset viewer.