Changeset 137 for trunk/src/common.c
- Timestamp:
- 01/23/09 17:58:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common.c
r136 r137 38 38 } 39 39 40 void printMsgs(REGFI_ITERATOR* iter) 41 { 42 char* msgs = regfi_get_messages(iter->f); 43 if(msgs != NULL) 44 { 45 fprintf(stderr, "%s", msgs); 46 free(msgs); 47 } 48 } 49 40 50 41 51 /* Returns a newly malloc()ed string which contains original buffer, … … 205 215 * is the responsibility of the caller to free both a non-NULL return 206 216 * value, and a non-NULL (*error_msg). 217 */ 218 /* XXX: Part of this function's logic should be pushed into the regfi API. 219 * The structures should be parsed and stored with VK records and only 220 * escaped/encoded later in reglookup and reglookup-recover. 207 221 */ 208 222 static char* data_to_ascii(unsigned char* datap, uint32 len, uint32 type,
Note: See TracChangeset
for help on using the changeset viewer.