Changeset 15003 for trunk/ippdb/tests/objectfrommetadata.c
- Timestamp:
- Sep 24, 2007, 6:18:00 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippdb/tests/objectfrommetadata.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippdb/tests/objectfrommetadata.c
r14598 r15003 3937 3937 exit(EXIT_FAILURE); 3938 3938 } 3939 if (!psMetadataAddS 32(md, PS_LIST_TAIL, "node", 0, NULL, -32)) {3939 if (!psMetadataAddStr(md, PS_LIST_TAIL, "node", 0, NULL, "a string")) { 3940 3940 psFree(md); 3941 3941 exit(EXIT_FAILURE); … … 3956 3956 exit(EXIT_FAILURE); 3957 3957 } 3958 if ( !object->node == -32) {3958 if (strncmp(object->node, "a string", MAX_STRING_LENGTH)) { 3959 3959 psFree(object); 3960 3960 exit(EXIT_FAILURE);
Note:
See TracChangeset
for help on using the changeset viewer.
