Commit 2503a499 authored by Ryan Berkheimer's avatar Ryan Berkheimer

bugfixin

parent 7ba44ae8
......@@ -549,9 +549,9 @@ struct record_list * MessageApiEndpoint::getRecords(const char *recordMethod, co
printf("Populated jProtocolRecords jobject using method %s.\n", recordMethod);
fflush(stdout);
int recordCount = this->getJListLength(jprotocolRecords);
printf("we got %d protocol records.",recordCount);
struct record_list *record_list = (struct record_list *) malloc(sizeof(struct record_list));
//record_list->count = recordCount;
record_list->count = 2;
record_list->count = recordCount;
record_list->jrecords = jprotocolRecords;
return record_list;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment