printf(" '   `- "); printFieldData(templateInfo->fieldInfo[i].type, (data + templateInfo->fieldInfo[i].offset)); printf("\n");
if (i > 0) printf("|"); FieldType ftype = templateInfo->fieldInfo[i].type; FieldData* fdata = data + templateInfo->fieldInfo[i].offset; int flen = fieldTypeToStringLength(ftype);  if (fieldToString(ftype, fdata, buf, 40) == -1) { error("Error converting field"); continue; }  int j; for (j = 0; j < flen-strlen(buf); j++) printf(" "); printf("%s", buf);
int printDataRecord(void* ipfixPrinter, SourceID sourceID, TemplateInfo* templateInfo, uint16_t length, FieldData* data) {	int i;		printf("\n-+--- DataRecord\n");	printf(" `- variable data\n"); 	for (i = 0; i < templateInfo->fieldCount; i++) {		printf(" '   `- ");		printFieldData(templateInfo->fieldInfo[i].type, (data + templateInfo->fieldInfo[i].offset));		printf("\n");		}	printf(" `---\n\n");	return 0;	}