mssun commented on a change in pull request #588: URL: https://github.com/apache/incubator-teaclave/pull/588#discussion_r768947273
########## File path: examples/c/builtin_ordered_set_intersect.c ########## @@ -267,6 +235,25 @@ int main() char user1_output_id[BUFFER_SIZE] = {0}; char serialized_response[BUFFER_SIZE] = {0}; size_t serialized_response_len = BUFFER_SIZE; + const char *admin_user_id = "admin"; + const char *admin_user_password = "teaclave"; + + /* Register */ + ret = login(admin_user_id, admin_user_password, token, &token_len); + if (ret != 0) { + fprintf(stderr, "[-] Failed to login.\n"); Review comment: Good suggestion. I'll polish it in the following PRs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org For additional commands, e-mail: notifications-h...@teaclave.apache.org