Commit 62bbf257 authored by Ryan Berkheimer's avatar Ryan Berkheimer

bugfixin

parent fb6b2d8f
...@@ -543,9 +543,10 @@ struct record_list * MessageApiEndpoint::getRecords(const char *recordMethod, co ...@@ -543,9 +543,10 @@ struct record_list * MessageApiEndpoint::getRecords(const char *recordMethod, co
jobject jprotocolRecords = this->getProtocolRecords(recordMethod, key, val); jobject jprotocolRecords = this->getProtocolRecords(recordMethod, key, val);
printf("Received jProtocolRecords.\n"); printf("Received jProtocolRecords.\n");
fflush(stdout); fflush(stdout);
int recordCount = this->getJListLength(jprotocolRecords); //int recordCount = this->getJListLength(jprotocolRecords);
struct record_list *record_list = (struct record_list *) malloc(sizeof(struct record_list)); struct record_list *record_list = (struct record_list *) malloc(sizeof(struct record_list));
record_list->count = recordCount; //record_list->count = recordCount;
record_list->count = 2;
record_list->jrecords = jprotocolRecords; record_list->jrecords = jprotocolRecords;
return record_list; 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