correct typo that causes compiling failed

main
xiaosuGW 3 years ago
parent 870962313c
commit 90d666bbc3

@ -34,7 +34,7 @@ struct sandbox {
bool request_from_outside; bool request_from_outside;
char * previous_function_output; /* the output of the previous function */ char * previous_function_output; /* the output of the previous function */
ssize_t output_length; /* the length of previous_function_output */ ssize_t output_length; /* the length of previous_function_output */
ssize_t previosu_request_length; /* the length of previous request */ ssize_t previous_request_length; /* the length of previous request */
sandbox_state_t state; sandbox_state_t state;
uint32_t sandbox_size; /* The struct plus enough buffer to hold the request or response (sized off largest) */ uint32_t sandbox_size; /* The struct plus enough buffer to hold the request or response (sized off largest) */

@ -75,7 +75,7 @@ sandbox_request_get_priority_fn(void *element)
* Initializes the variant and registers against the polymorphic interface * Initializes the variant and registers against the polymorphic interface
*/ */
void void
global_request_scheduler_minheap_initialize() global_request_scheduler_minheap_initialize() {
global_request_scheduler_minheap = priority_queue_initialize(4096, true, sandbox_request_get_priority_fn); global_request_scheduler_minheap = priority_queue_initialize(4096, true, sandbox_request_get_priority_fn);
struct global_request_scheduler_config config = { struct global_request_scheduler_config config = {

Loading…
Cancel
Save