Skip to content

Commit

Permalink
gardening
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Zeisberg committed Mar 13, 2016
1 parent 9688bb1 commit 73c0dd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int api_run(string pluginlongtermpk, string function_name, uint64_t callid,
data->data.params = message_object_copy(args).data.params;

/* send request */
run = (string) {.str = "run", .length = sizeof("run") - 1,};
run = (string) {.str = "run", .length = sizeof("run") - 1};
cinfo = connection_send_request(pluginlongtermpk, run, run_params,
api_error);

Expand Down
2 changes: 1 addition & 1 deletion src/rpc/connection/dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ int dispatch_teardown(void)
int dispatch_table_init(void)
{
dispatch_info register_info = {.func = handle_register, .async = true,
.name = (string) {.str = "register", .length = sizeof("register") - 1,}};
.name = (string) {.str = "register", .length = sizeof("register") - 1}};
dispatch_info run_info = {.func = handle_run, .async = true,
.name = (string) {.str = "run", .length = sizeof("run") - 1}};
dispatch_info error_info = {.func = handle_error, .async = true,
Expand Down

0 comments on commit 73c0dd3

Please sign in to comment.